Click here to Skip to main content
16,009,156 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello All,

Leaving Visual studio is there any tool for editing the version of assembly.

Thanks and Regards
Posted
Comments
Sergey Alexandrovich Kryukov 12-Apr-12 3:17am    
Good question, such tool is very be useful, but you probably have to create one. My 5 for the question.
--SA

1 solution

I don't know such tool, so I created a custom tool implementing the interface Microsoft.Build.Framework.ITask, please see:
http://msdn.microsoft.com/en-us/library/microsoft.build.framework.itask.aspx[^].

Using this interface method, you can implement the .NET assembly which can be used by MSBuild when referenced in the standard MSBuild project file to elegantly embed it in a special target of a build process. On the implementation side, all you need is to find appropriate files like "AssemblyInfo.cs" and modify they texts accordingly. I advise you to do that. You can easily find the relevant information in documentation for Microsoft.Build.Framework and MSBuild.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900