11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 4 .0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
2+ <Project ToolsVersion =" 15 .0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
33 <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
44 <PropertyGroup >
55 <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
66 <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
77 <ProjectGuid >{AD686AF3-DDDC-4991-909F-EAD9C16C469B}</ProjectGuid >
88 <OutputType >Library</OutputType >
99 <AppDesignerFolder >Properties</AppDesignerFolder >
10- <RootNamespace >TrainingLabModule </RootNamespace >
11- <AssemblyName >TrainingLabModule </AssemblyName >
10+ <RootNamespace >FieldTrainingLab </RootNamespace >
11+ <AssemblyName >FieldTrainingLab </AssemblyName >
1212 <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
1313 <FileAlignment >512</FileAlignment >
14- <ProductVersion >12.0.0</ProductVersion >
15- <SchemaVersion >2.0</SchemaVersion >
1614 </PropertyGroup >
17- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release KSP 0.90|AnyCPU' " >
18- <DebugType >pdbonly</DebugType >
19- <Optimize >true</Optimize >
20- <OutputPath >..\..\..\..\..\Games\Kerbal Space Program 0.90\GameData\WarpPlugin\Plugins\</OutputPath >
21- <DefineConstants >TRACE</DefineConstants >
15+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
16+ <DebugSymbols >true</DebugSymbols >
17+ <DebugType >full</DebugType >
18+ <Optimize >false</Optimize >
19+ <OutputPath >bin\Debug\</OutputPath >
20+ <DefineConstants >DEBUG;TRACE</DefineConstants >
2221 <ErrorReport >prompt</ErrorReport >
2322 <WarningLevel >4</WarningLevel >
2423 </PropertyGroup >
25- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release KSP 0.25|AnyCPU'" >
26- <OutputPath >bin\Release KSP 0.25\</OutputPath >
27- <DefineConstants >TRACE</DefineConstants >
28- <Optimize >true</Optimize >
29- <DebugType >pdbonly</DebugType >
30- <PlatformTarget >AnyCPU</PlatformTarget >
31- <ErrorReport >prompt</ErrorReport >
32- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
33- </PropertyGroup >
3424 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU'" >
25+ <DebugType >pdbonly</DebugType >
26+ <Optimize >true</Optimize >
3527 <OutputPath >bin\Release\</OutputPath >
3628 <DefineConstants >TRACE</DefineConstants >
37- <Optimize >true</Optimize >
38- <DebugType >pdbonly</DebugType >
39- <PlatformTarget >AnyCPU</PlatformTarget >
4029 <ErrorReport >prompt</ErrorReport >
41- <CodeAnalysisRuleSet >MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet >
30+ <WarningLevel >4</WarningLevel >
31+ <DebugSymbols >true</DebugSymbols >
4232 </PropertyGroup >
4333 <ItemGroup >
4434 <Reference Include =" Assembly-CSharp" >
45- <HintPath >..\..\..\..\Games\Career\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath >
46- <Private >False</Private >
47- </Reference >
48- <Reference Include =" Assembly-CSharp-firstpass" >
49- <HintPath >..\..\..\..\Games\Career\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath >
35+ <HintPath >$(DevDir)\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath >
5036 <Private >False</Private >
5137 </Reference >
5238 <Reference Include =" System" />
5642 <Reference Include =" System.Data" />
5743 <Reference Include =" System.Xml" />
5844 <Reference Include =" UnityEngine" >
59- <HintPath >..\..\..\..\Games\Career\KSP_x64_Data\Managed\UnityEngine.dll</HintPath >
60- <Private >False</Private >
61- </Reference >
62- <Reference Include =" UnityEngine.UI" >
63- <HintPath >..\..\..\..\Games\Career\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath >
45+ <HintPath >$(DevDir)\KSP_x64_Data\Managed\UnityEngine.dll</HintPath >
6446 <Private >False</Private >
6547 </Reference >
6648 </ItemGroup >
6749 <ItemGroup >
68- <Compile Include =" TrainingLabModule.cs" />
50+ <Compile Include =" AssemblyVersion.cs" >
51+ <AutoGen >True</AutoGen >
52+ <DesignTime >True</DesignTime >
53+ <DependentUpon >AssemblyVersion.tt</DependentUpon >
54+ </Compile >
55+ <Compile Include =" FieldTrainingLab.cs" />
6956 <Compile Include =" Properties\AssemblyInfo.cs" />
57+ <Compile Include =" InstallChecker.cs" />
58+ </ItemGroup >
59+ <ItemGroup >
60+ <Content Include =" AssemblyVersion.tt" >
61+ <Generator >TextTemplatingFileGenerator</Generator >
62+ <LastGenOutput >AssemblyVersion.cs</LastGenOutput >
63+ </Content >
7064 </ItemGroup >
7165 <ItemGroup >
72- <WCFMetadata Include =" Service References\ " />
66+ <Service Include =" {508349B6-6B84-4DF5-91F0-309BEEBAD82D} " />
7367 </ItemGroup >
7468 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7569 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7973 <Target Name="AfterBuild">
8074 </Target>
8175 -->
76+ <PropertyGroup >
77+ <PostBuildEvent >start /D $(ProjectDir)..\ /WAIT deploy.bat $(TargetDir) $(TargetFileName)
78+
79+ if $(ConfigurationName) == Release start /D C:\KSP_DEV\Workspace\FieldTrainingLab /WAIT buildRelease.bat $(TargetDir) $(TargetFileName)
80+ </PostBuildEvent >
81+ </PropertyGroup >
82+ <PropertyGroup >
83+ <PreBuildEvent >set textTemplatingPath="$(DevEnvDir)texttransform.exe"
84+ %25textTemplatingPath%25 "$(ProjectDir)AssemblyVersion.tt"
85+ </PreBuildEvent >
86+ </PropertyGroup >
87+ <!-- <Target Name="BeforeBuild">
88+ </Target>
89+ <Target Name="AfterBuild">
90+ </Target>-->
8291</Project >
0 commit comments