mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Changed the build versioning to use an incrementing build version per build (and revision version per release build) as per https://stackoverflow.com/questions/826777/how-to-have-an-auto-incrementing-version-number-visual-studio. This uses an AssemblyInfo.tt T4 template to customise the versioning so that the application version can be set using the AssemblyVersion variable within the Visual Studio application properties. This makes it dead easy to change! The Wix Program.wxs was also changed to use that new 4 digit version number as the versioning, which should help immensely with beta testing updates. No more asking people to uninstall the previous version as the new build will automatically upgrade the earlier version!
44 lines
1.6 KiB
C#
44 lines
1.6 KiB
C#
using System;
|
|
using System.Resources;
|
|
using System.Reflection;
|
|
using System.Runtime.InteropServices;
|
|
|
|
// General Information about an assembly is controlled through the following
|
|
// set of attributes. Change these attribute values to modify the information
|
|
// associated with an assembly.
|
|
|
|
[assembly: AssemblyTitle("DisplayMagician")]
|
|
[assembly: AssemblyDescription("Automatically run your games with a different display profile and revert when finished.")]
|
|
[assembly: AssemblyConfiguration("")]
|
|
[assembly: AssemblyCompany("LittleBitBig")]
|
|
[assembly: AssemblyProduct("DisplayMagician")]
|
|
[assembly: AssemblyCopyright("Copyright © Terry MacDonald 2020-2021")]
|
|
[assembly: AssemblyTrademark("")]
|
|
[assembly: AssemblyCulture("")]
|
|
|
|
// Setting ComVisible to false makes the types in this assembly not visible
|
|
// to COM components. If you need to access a type in this assembly from
|
|
// COM, set the ComVisible attribute to true on that type.
|
|
|
|
[assembly: ComVisible(true)]
|
|
|
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|
|
|
[assembly: Guid("e4ceaf5e-ad01-4695-b179-31168eb74c48")]
|
|
|
|
// Version information for an assembly consists of the following four values:
|
|
//
|
|
// Major Version
|
|
// Minor Version
|
|
// Build Number
|
|
// Revision
|
|
//
|
|
// 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("2.0.0.0")]
|
|
[assembly: AssemblyFileVersion("2.0.0.0")]
|
|
[assembly: NeutralResourcesLanguage("en")]
|
|
|
|
[assembly: CLSCompliant(true)] |