6

Is it possible to add a character to the assembly version? ex 10.1.1.1a ?

Soner Gönül
  • 94,086
  • 102
  • 195
  • 339
Tanya
  • 1,523
  • 5
  • 21
  • 33

2 Answers2

7

No. Assembly versions (specified by AssemblyVersionAttribute) follow the System.Version system, which is strictly four numbers.

However, you can use AssemblyInformationalVersionAttribute to give more information.

Jon Skeet
  • 1,335,956
  • 823
  • 8,931
  • 9,049
0

No:

AssemblyVersionAttribute:

All components of the version must be integers greater than or equal to 0.

Community
  • 1
  • 1
CodeCaster
  • 139,522
  • 20
  • 204
  • 252
  • i have a dll with same versions but the modified time is different. but i need differentiate 2 same dlls with version or some other file properties. any suggestions? – Tanya Feb 18 '13 at 11:40
  • _"but i need differentiate 2 same dlls with version or some other file properties."_ - no, you need to make sure there's only one DLL for each version going around. Using a build server might be able to fix the underlying problem you're having. Perhaps you could also use [`AssemblyFileVersion`](http://msdn.microsoft.com/en-us/library/system.reflection.assemblyfileversionattribute.aspx) attribute, where you incorporate the build time into the file version while keeping the assembly version the same. – CodeCaster Feb 18 '13 at 11:43