Skip to content

Commit

Permalink
Changed version and assembly info + automatic ilrepack on release
Browse files Browse the repository at this point in the history
  • Loading branch information
notscuffed committed Feb 12, 2019
1 parent 8d98a32 commit 897daef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RePKG/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ScuffedCompany")]
[assembly: AssemblyProduct("RePKG")]
[assembly: AssemblyCopyright("Copyright © Scuff 2019")]
[assembly: AssemblyCopyright("Copyright © NotScuffed 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand All @@ -32,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("0.1.1.0")]
[assembly: AssemblyFileVersion("0.1.1.0")]
[assembly: NeutralResourcesLanguage("en")]

5 changes: 5 additions & 0 deletions RePKG/RePKG.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,9 @@
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>if $(ConfigurationName) == Release (
ilrepack /out:"$(TargetDir)output.exe" /wildcards /parallel "$(TargetPath)" "$(TargetDir)*.dll"
)</PostBuildEvent>
</PropertyGroup>
</Project>

0 comments on commit 897daef

Please sign in to comment.