Skip to content

Commit 82c0823

Browse files
Added AssemblyFileVersion
Updated version file for 1.12
1 parent f288158 commit 82c0823

18 files changed

Lines changed: 45 additions & 35 deletions

Changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
ChangeLog
22

3+
1.0.11.1
4+
Added AssemblyFileVersion
5+
Updated version file for 1.12
6+
37
1.0.11
48
Moved settings from cfg file to settings page
59

-20 KB
Binary file not shown.

GameData/ShipEffectsContinued/ShipEffectsContinued.version

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
"MAJOR": 1,
88
"MINOR": 0,
99
"PATCH": 11,
10-
"BUILD": 0
10+
"BUILD": 1
11+
},
12+
"KSP_VERSION": {
13+
"MAJOR": 1,
14+
"MINOR": 12,
15+
"PATCH": 2
1116
},
1217
"KSP_VERSION_MIN": {
1318
"MAJOR": 1,
14-
"MINOR": 8,
19+
"MINOR": 12,
1520
"PATCH": 0
1621
}
1722
}

ShipEffectsContinued.version

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
"MAJOR": 1,
88
"MINOR": 0,
99
"PATCH": 11,
10-
"BUILD": 0
10+
"BUILD": 1
11+
},
12+
"KSP_VERSION": {
13+
"MAJOR": 1,
14+
"MINOR": 12,
15+
"PATCH": 2
1116
},
1217
"KSP_VERSION_MIN": {
1318
"MAJOR": 1,
14-
"MINOR": 8,
19+
"MINOR": 12,
1520
"PATCH": 0
1621
}
1722
}

ShipEffectsContinued.version.orig

Lines changed: 0 additions & 17 deletions
This file was deleted.

Source/AssemblyVersion.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55

66
using System.Reflection;
77

8-
[assembly: AssemblyVersion("1.0.11.0")]
8+
[assembly: AssemblyFileVersion("1.0.11.1")]
9+
[assembly: AssemblyVersion("1.0.11.1")]

Source/AssemblyVersion.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@
9797

9898
using System.Reflection;
9999

100+
[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
100101
[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]

Source/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
//[assembly: AssemblyVersion("1.0.8.4")]
36-
[assembly: AssemblyFileVersion("1.0.8.4")]
36+
//[assembly: AssemblyFileVersion("1.0.8.4")]

Source/ShipEffectsContinued.csproj

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,34 @@
6363
</ItemGroup>
6464
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6565
<PropertyGroup>
66-
<PostBuildEvent>start /D D:\Users\jbb\github\ShipEffectsContinued /WAIT deploy.bat $(TargetDir) $(TargetFileName)
66+
<PostBuildEvent>
67+
set KSPDIR=$(KSPDIR)
6768

69+
IF "%25KSPDIR%25"=="" (
6870

71+
ECHO Configuration error - KSPDIR not specified in project.
6972

70-
if $(ConfigurationName) == Release (
73+
ECHO Either set KSPDIR environment variable or edit BetterLoadSaveGame.Common.props
7174

75+
PAUSE
7276

77+
GOTO DONE
7378

74-
start /D D:\Users\jbb\github\ShipEffectsContinued /WAIT buildRelease.bat $(TargetDir) $(TargetFileName)
79+
)
7580

81+
start /D $(SolutionDir) /WAIT deploy.bat $(TargetDir) $(TargetFileName) $(TargetName)
7682

83+
if $(ConfigurationName) == Release (
7784

78-
)</PostBuildEvent>
85+
start /D $(SolutionDir) /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) $(TargetName)
86+
87+
)
88+
</PostBuildEvent>
7989
</PropertyGroup>
8090
<PropertyGroup>
81-
<PreBuildEvent>set textTemplatingPath="%25ProgramFiles(x86)%25\Microsoft Visual Studio\2017\Community\Common7\IDE\texttransform.exe"
82-
83-
84-
85-
86-
%25textTemplatingPath%25 "$(ProjectDir)AssemblyVersion.tt"</PreBuildEvent>
91+
<PreBuildEvent>
92+
"$(DevEnvDir)\texttransform.exe" "$(ProjectDir)AssemblyVersion.tt"
93+
</PreBuildEvent>
8794
</PropertyGroup>
8895
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8996
Other similar extension points exist, see Microsoft.Common.targets.

Source/bin/Debug/RedShellSDK.dll

-8 KB
Binary file not shown.

0 commit comments

Comments
 (0)