VB.Net dll files not displaying the file version
Posted on 2014-10-28
I have a web site project that is not updating the file version information when I build and publish. The modified date is updating, but the other information that I have in the AssemblyInfo.vb file is not showing at all. All of the dll files in the bin folder show the version 0.0.0.0 instead of the 22.214.171.124 I have in the file.
This is causing me issues because the app_code.dll file is copied to the GAC and since the version doesn't change I have to get the web server group to manually overwrite the copy in the GAC. I only have access to the folder where my site resides and cannot make any changes on the web server.
I have seen lots of places where it says that the file version is pulled from the AssemblyInfo.vb, but in my case that does not seem to be the case.
Any ideas on how I can get the file version to populate on my dll files?