-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from JPLRepo/Develop
KSP 1.3.1
- Loading branch information
Showing
7 changed files
with
118 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,109 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{ECD03D1C-255C-45A2-ACFA-D35B500538C9}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Endurance</RootNamespace> | ||
<AssemblyName>Endurance</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\Assembly-CSharp.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\UnityEngine.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\UnityEngine.UI.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="AnimState.cs" /> | ||
<Compile Include="IControlledModule.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="ENAnimateControlled.cs" /> | ||
<Compile Include="ENControlledModule.cs" /> | ||
<Compile Include="ENExtensions.cs" /> | ||
<Compile Include="ENLandingLeg.cs" /> | ||
<Compile Include="ENUtils.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Target Name="PostBuildMacros"> | ||
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)"> | ||
<Output TaskParameter="Assemblies" ItemName="Targets" /> | ||
</GetAssemblyIdentity> | ||
<ItemGroup> | ||
<VersionNumber Include="@(Targets->'%(Version)')" /> | ||
</ItemGroup> | ||
</Target> | ||
<PropertyGroup> | ||
<PostBuildEventDependsOn> | ||
$(PostBuildEventDependsOn); | ||
PostBuildMacros; | ||
</PostBuildEventDependsOn> | ||
<PostBuildEvent>set /p KSP_DIR=<"$(SolutionDir)LocalDev\ksp_dir.txt" | ||
|
||
set /p MONO_EXE_DIR=<"$(SolutionDir)LocalDev\mono_exe.txt" | ||
|
||
set /p PDB2MDB_EXE_DIR=<"$(SolutionDir)LocalDev\pdb2mdb_exe.txt" | ||
|
||
set /p ZA_DIR=<"$(SolutionDir)LocalDev\7za_dir.txt" | ||
|
||
xcopy "$(TargetPath)" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
xcopy "$(TargetDir)$(ProjectName).pdb" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
|
||
cd "$(TargetDir)" | ||
"%25MONO_EXE_DIR%25" "%25PDB2MDB_EXE_DIR%25" "$(TargetFileName)" | ||
xcopy "$(TargetDir)$(ProjectName).dll.mdb" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
|
||
where /q %25ZA_DIR%25:7za.exe | ||
if %25ERRORLEVEL%25 == 1 ( echo Cannot find 7-zip to package build) else ( echo Packaging build ) | ||
|
||
if exist "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" del "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" | ||
%25ZA_DIR%257za.exe a -tzip "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" "$(SolutionDir)Distribution\GameData" | ||
%25ZA_DIR%257za.exe d -r "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" "*.ddsified" "*.xcf" "*.blend" "thumbs.db" "*.pdb" "*.dll.mdb" | ||
xcopy /E /Y "$(SolutionDir)Distribution\GameData" "%25KSP_DIR%25\GameData"</PostBuildEvent> | ||
</PropertyGroup> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{ECD03D1C-255C-45A2-ACFA-D35B500538C9}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>Endurance</RootNamespace> | ||
<AssemblyName>Endurance</AssemblyName> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Assembly-CSharp, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\Assembly-CSharp.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\UnityEngine.dll</HintPath> | ||
</Reference> | ||
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\KSPDLLs - 1.3\UnityEngine.UI.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="AnimState.cs" /> | ||
<Compile Include="IControlledModule.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="ENAnimateControlled.cs" /> | ||
<Compile Include="ENControlledModule.cs" /> | ||
<Compile Include="ENExtensions.cs" /> | ||
<Compile Include="ENLandingLeg.cs" /> | ||
<Compile Include="ENUtils.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Target Name="PostBuildMacros"> | ||
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)"> | ||
<Output TaskParameter="Assemblies" ItemName="Targets" /> | ||
</GetAssemblyIdentity> | ||
<ItemGroup> | ||
<VersionNumber Include="@(Targets->'%(Version)')" /> | ||
</ItemGroup> | ||
</Target> | ||
<PropertyGroup> | ||
<PostBuildEventDependsOn> | ||
$(PostBuildEventDependsOn); | ||
PostBuildMacros; | ||
</PostBuildEventDependsOn> | ||
<PostBuildEvent>set /p KSP_DIR=<"$(SolutionDir)LocalDev\ksp_dir.txt" | ||
|
||
set /p MONO_EXE_DIR=<"$(SolutionDir)LocalDev\mono_exe.txt" | ||
|
||
set /p PDB2MDB_EXE_DIR=<"$(SolutionDir)LocalDev\pdb2mdb_exe.txt" | ||
|
||
set /p ZA_DIR=<"$(SolutionDir)LocalDev\7za_dir.txt" | ||
|
||
xcopy "$(TargetPath)" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
xcopy "$(TargetDir)$(ProjectName).pdb" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
|
||
cd "$(TargetDir)" | ||
"%25MONO_EXE_DIR%25" "%25PDB2MDB_EXE_DIR%25" "$(TargetFileName)" | ||
xcopy "$(TargetDir)$(ProjectName).dll.mdb" "$(SolutionDir)Distribution\GameData\$(ProjectName)\Plugins\" /Y | ||
|
||
where /q %25ZA_DIR%25:7za.exe | ||
if %25ERRORLEVEL%25 == 1 ( echo Cannot find 7-zip to package build) else ( echo Packaging build ) | ||
|
||
if exist "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" del "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" | ||
%25ZA_DIR%257za.exe a -tzip "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" "$(SolutionDir)Distribution\GameData" | ||
%25ZA_DIR%257za.exe d -r "$(SolutionDir)Distribution\$(ProjectName)_V@(VersionNumber).zip" "*.ddsified" "*.xcf" "*.blend" "thumbs.db" "*.pdb" "*.dll.mdb" | ||
xcopy /E /Y "$(SolutionDir)Distribution\GameData" "%25KSP_DIR%25\GameData\"</PostBuildEvent> | ||
</PropertyGroup> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters