views:

74

answers:

1

In the Visual Studio 2008 IDE, the properties page allows you to access the version. However, for executables, there appears to be two versions:

Under the Publish tab, there is a publish version with a flag to auto increment.

Under the Applications Tab (Assembly Info...) there is an assembly and file version - this appears to change the AssemblyInfo.cs file.

My question is, what is the difference between the two versions and what are the implications of setting each?

+1  A: 

The version(s) specified in AssemblyInfo.cs are compiled into the file and are consitered to be the version of the assembly (file and product are versioned independently).

On the publish tab in the project, this is used for ClickOnce deployment so that the .NET ClickOnce engine can determine what version of the project a user has installed and it can do the appropriate update route.

Nate Bross