From dd31dbbf3ad77a47cb00d4ac759d6930612a70bf Mon Sep 17 00:00:00 2001 From: CheceseJedi <CheeseJedi@users.noreply.github.com> Date: Fri, 2 Jun 2017 00:46:50 +0100 Subject: [PATCH] Switched build number autoincrementer --- HELLION.DataStructures/HELLION.DataStructures.csproj | 8 +++++++- HELLION.DataStructures/Properties/AssemblyInfo.cs | 4 ++-- HELLION.Explorer/HELLION.Explorer.csproj | 8 +++++++- HELLION.Explorer/Properties/AssemblyInfo.cs | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/HELLION.DataStructures/HELLION.DataStructures.csproj b/HELLION.DataStructures/HELLION.DataStructures.csproj index a3e0ea5..7e20d20 100644 --- a/HELLION.DataStructures/HELLION.DataStructures.csproj +++ b/HELLION.DataStructures/HELLION.DataStructures.csproj @@ -11,6 +11,12 @@ <AssemblyName>HELLION.DataStructures</AssemblyName> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> + <AssemblyInfoFilePath>Properties\AssemblyInfo.cs</AssemblyInfoFilePath> + <UpdateAssemblyVersion>True</UpdateAssemblyVersion> + <UpdateAssemblyFileVersion>True</UpdateAssemblyFileVersion> + <UpdateAssemblyInfoVersion>False</UpdateAssemblyInfoVersion> + <AssemblyVersionSettings>None.None.IncrementOnDemandWithReset.Increment</AssemblyVersionSettings> + <AssemblyFileVersionSettings>None.None.IncrementOnDemandWithReset.Increment</AssemblyFileVersionSettings> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> @@ -62,7 +68,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_UseUniversalClock="True" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.None.Increment" BuildVersion_UseGlobalSettings="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_StartDate="2000/1/1" BuildVersion_UpdateFileVersion="True" /> + <UserProperties BuildVersion_UseUniversalClock="True" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.None.Increment" BuildVersion_UseGlobalSettings="False" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_StartDate="2000/1/1" BuildVersion_UpdateFileVersion="True" /> </VisualStudio> </ProjectExtensions> </Project> \ No newline at end of file diff --git a/HELLION.DataStructures/Properties/AssemblyInfo.cs b/HELLION.DataStructures/Properties/AssemblyInfo.cs index cb998c8..44c832c 100644 --- a/HELLION.DataStructures/Properties/AssemblyInfo.cs +++ b/HELLION.DataStructures/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // 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("0.0.2.127")] -[assembly: AssemblyFileVersion("0.0.2.127")] +[assembly: AssemblyVersion("0.0.3.2")] +[assembly: AssemblyFileVersion("0.0.3.2")] diff --git a/HELLION.Explorer/HELLION.Explorer.csproj b/HELLION.Explorer/HELLION.Explorer.csproj index 5b58399..f6c27c4 100644 --- a/HELLION.Explorer/HELLION.Explorer.csproj +++ b/HELLION.Explorer/HELLION.Explorer.csproj @@ -27,6 +27,12 @@ <UseApplicationTrust>false</UseApplicationTrust> <PublishWizardCompleted>true</PublishWizardCompleted> <BootstrapperEnabled>true</BootstrapperEnabled> + <AssemblyInfoFilePath>Properties\AssemblyInfo.cs</AssemblyInfoFilePath> + <UpdateAssemblyVersion>True</UpdateAssemblyVersion> + <UpdateAssemblyFileVersion>True</UpdateAssemblyFileVersion> + <UpdateAssemblyInfoVersion>False</UpdateAssemblyInfoVersion> + <AssemblyVersionSettings>None.None.IncrementOnDemandWithReset.Increment</AssemblyVersionSettings> + <AssemblyFileVersionSettings>None.None.IncrementOnDemandWithReset.Increment</AssemblyFileVersionSettings> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> @@ -172,7 +178,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_UpdateFileVersion="True" BuildVersion_UseGlobalSettings="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_StartDate="2000/1/1" BuildVersion_BuildVersioningStyle="None.None.None.Increment" BuildVersion_UseUniversalClock="True" BuildVersion_UpdateAssemblyVersion="True" /> + <UserProperties BuildVersion_UpdateFileVersion="True" BuildVersion_UseGlobalSettings="False" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_StartDate="2000/1/1" BuildVersion_BuildVersioningStyle="None.None.None.Increment" BuildVersion_UseUniversalClock="True" BuildVersion_UpdateAssemblyVersion="True" /> </VisualStudio> </ProjectExtensions> </Project> \ No newline at end of file diff --git a/HELLION.Explorer/Properties/AssemblyInfo.cs b/HELLION.Explorer/Properties/AssemblyInfo.cs index 983e5c4..27f7a1e 100644 --- a/HELLION.Explorer/Properties/AssemblyInfo.cs +++ b/HELLION.Explorer/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // 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("0.0.2.113")] -[assembly: AssemblyFileVersion("0.0.2.113")] +[assembly: AssemblyVersion("0.0.3.2")] +[assembly: AssemblyFileVersion("0.0.3.2")]