|
9 | 9 | <AppDesignerFolder>Properties</AppDesignerFolder> |
10 | 10 | <RootNamespace>FilterExtensions</RootNamespace> |
11 | 11 | <AssemblyName>FilterExtensions</AssemblyName> |
12 | | - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 12 | + <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
13 | 13 | <FileAlignment>512</FileAlignment> |
14 | 14 | <TargetFrameworkProfile /> |
15 | 15 | </PropertyGroup> |
|
88 | 88 | </ItemGroup> |
89 | 89 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
90 | 90 | <PropertyGroup> |
91 | | - <PostBuildEvent> |
92 | | -start /D D:\Users\jbb\github\FilterExtension /WAIT deploy.bat $(TargetDir) $(TargetFileName) |
| 91 | + <PostBuildEvent>set KSPDIR=$(KSPDIR) |
93 | 92 |
|
94 | | -if $(ConfigurationName) == Release ( |
| 93 | +IF "%25KSPDIR%25"=="" ( |
95 | 94 |
|
96 | | - start /D D:\Users\jbb\github\FilterExtension /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) |
| 95 | + ECHO Configuration error - KSPDIR not specified in project. |
| 96 | + |
| 97 | + ECHO Either set KSPDIR environment variable or edit BetterLoadSaveGame.Common.props |
| 98 | + |
| 99 | + PAUSE |
| 100 | + |
| 101 | + GOTO DONE |
| 102 | + |
| 103 | +) |
| 104 | + |
| 105 | +start /D $(SolutionDir) /WAIT deploy.bat $(TargetDir) $(TargetFileName) $(TargetName) |
| 106 | + |
| 107 | +if $(ConfigurationName) == Release ( |
| 108 | + |
| 109 | + start /D $(SolutionDir) /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) $(TargetName) |
97 | 110 |
|
98 | 111 | ) |
99 | 112 | </PostBuildEvent> |
100 | 113 | </PropertyGroup> |
101 | 114 | <PropertyGroup> |
102 | | - <PreBuildEvent>set textTemplatingPath="%25ProgramFiles(x86)%25\Microsoft Visual Studio\2017\Community\Common7\IDE\texttransform.exe" |
103 | | - |
104 | | -%25textTemplatingPath%25 "$(ProjectDir)AssemblyVersion.tt</PreBuildEvent> |
| 115 | + <PreBuildEvent>"$(DevEnvDir)\texttransform.exe" "$(ProjectDir)AssemblyVersion.tt" |
| 116 | +</PreBuildEvent> |
105 | 117 | </PropertyGroup> |
106 | 118 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
107 | 119 | Other similar extension points exist, see Microsoft.Common.targets. |
|
0 commit comments