Linked Questions
10 questions linked to/from Automatically update version number
5
votes
4
answers
8k
views
How can I AutoIncrement the assembly (build) number in Visual Studio? [duplicate]
How can I AutoIncrement the assembly (build) number in Visual Studio?
Duplicate:
/questions/650/automatically-update-version-number
403
votes
27
answers
263k
views
Can I automatically increment the file build version when using Visual Studio?
I was just wondering how I could automatically increment the build (and version?) of my files using Visual Studio (2005).
If I look up the properties of say C:\Windows\notepad.exe, the Version tab ...
40
votes
6
answers
51k
views
How do I get the current published version in a .NET application?
I want to be able to display the current version of a .NET application that I have deployed using the publish wizard. There is a nice option to automatically update the version number every time I ...
26
votes
5
answers
13k
views
Can I make a constant from a compile-time env variable in C#?
We use Hudson to build our projects, and Hudson conveniently defines environment variables like %BUILD_NUMBER% at compile time.
I'd like to use that variable in code, so we can do things like log what ...
8
votes
6
answers
6k
views
How to check if an assembly has changed
is it possible to tell if an assembly has changed?
I have a standard project that generates an assembly called MyAssembly.dll.
In a separate project i read the assembly and generate a hash.
When i ...
13
votes
3
answers
4k
views
Minify JavaScript and Attach Version Number using VS2010
I have a few goals I'd like to achieve but I'm unsure of how to get there:
Create a single-click deployment for my web project that includes a minified javascript file
Version my minified JavaScript ...
0
votes
3
answers
9k
views
Application.ProductVersion is not working
Application.ProductVersion is not showing the incremental version. can anybody help me how to perform this, using C# ?
4
votes
2
answers
8k
views
How do I autoincrement the Package Version revision number when using a .Net Core format project file in VS2019
Previous answers to this question refer to editing the AssembyInfo.cs file to set the Assembly Version. I am generating a NuGet package using the new leaner .Net Core format of .csproj file for .Net ...
2
votes
5
answers
9k
views
Automatically incremented revision number doesn't show up in the About Box
I have a small VB.NET application that I'm working on using the full version of Visual Studio 2005. In the Publish properties of the project, I have it set to Automatically increment revision with ...
2
votes
2
answers
2k
views
c# assign version number via Environment Variable
I currently have a VersionInfo.cs file that contains the following.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//Version information for ...