开发者

VB.Net - Version numbering in VBPROJ file

开发者 https://www.devze.com 2023-01-05 04:46 出处:网络
Following on from my last question, are the AssemblyMajorVersion, AssemblyMinorVersion, AssemblyRevisionNumber and GenerateRevisionNumber properties required in .vbproj files?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消