Assembly Versioning in .NET

Someone asked on Stack Overflow:

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?

I posted the following answer, which was chosen as the accepted answer and received 1 upvote:

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.


Originally posted on Stack Overflow — 1 upvotes (accepted answer). Licensed under CC BY-SA.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.