Is it possible to add a character to the assembly version? ex 10.1.1.1a
?
Asked
Active
Viewed 2,517 times
6

Soner Gönül
- 97,193
- 102
- 206
- 364

Tanya
- 1,571
- 5
- 22
- 33
-
http://stackoverflow.com/q/64602/440030 – Reza ArabQaeni Feb 18 '13 at 11:39
2 Answers
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,421,763
- 867
- 9,128
- 9,194
0
No:
All components of the version must be integers greater than or equal to 0.

Community
- 1
- 1

CodeCaster
- 147,647
- 23
- 218
- 272
-
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