Hi
Ques How can we do assembly versioning ?
Assembly versioning
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted Mar 20, 2012, 6:15 AM EDT
The Assembly in .net allows to version the same assembly with multiples.
The public encrypted key allows to make the version of assembly and strong name key has to applied to make the assembly versioning. The sn.exe is tool to generate the strong name key.
sn.exe -k "myassembly.snk"
The same assembly name can be deployed in GAC(Global Assembly Cache) with multiple versions. This has to be deployed using gacutil.exe tool.
gacutil -i "path of the assembly"
You can get more information in below urls:
http://msdn.microsoft.com/en-us/library/51ket42z(v=vs.71).aspx
http://www.brianclifton.com/blogs/programming/get-assembly-version-asp-net