Following on from my last question, are the AssemblyMajorVersion, AssemblyMinorVersion, AssemblyRevisionNumber and GenerateRevisionNumber properties required in .vbproj files?
All of our components have these entries in the .vbproj files 开发者_如何学运维but they are completely out of sync with the AssemblyVersion and AssemblyFileVersion entries in the AssemblyInfo.vb files.
Are they a legacy from the upgrade from previous VS versions?
Can I just remove them?
I don't know the authorative answer but seems like legacy, none of the VS2005 .vbproj files I looked at have them and they don't get many hits on google and one of the places I did get a hit is in a sample file to Programming Microsoft® Windows® with C# which was published in Dec 2001 it seems.
You could try to compile the assembly, make a copy of it, remove those attributes and then re-compile and do a file compare on the assemblies and see if they're identical.
加载中,请稍侯......
精彩评论