I've inherited a VB.Net codebase which was VB 2005 and upgraded to VB 2008 consisting of around 100 projects
I'm trying to re-version all of the components but have discovered some of the AssemblyInfo.vb files have an AssemblyFileVersion
entry and some have an AssemblyFileVersionAttribute
entry.
Also, some have an AssemblyVersion
entry and some have an AssemblyVersionAttribute
entry.
What is the difference between with and without Attribute
?
Which ones should I be using?
There is no difference. Just as
int
will resolve toSystem.Int32
, any type derived fromAttribute
is treated specially by the compiler. So...[MyCustom]
will resolve to[MyCustomAttribute]
Relavent MSDN Entry