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 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.