I've got a VS2010 project that contains an AssemblyInfo.cs file. This has:
[assembly: AssemblyFileVersion("10.0.1.0")]
When I run my app and ask for the file version from the executing assembly it picks up 10.0.1 no problem. However, if I right-click on the .exe file in Windows Explorer and open the properties dialog - the Details tab shows a File Version of 10.0.0.0(!)
Why doesn't Windows see 10.0.1 for the file version? I must be missing something...
Additional info: If I add a Version Resource to my app's .res file then the information shows up in the compiled executable, but if I don't have the info in the Version Resource the compiled exe ignores the file and "informational" (i.e. Product) version attributes in AssemblyInfo.cs.