Can assembly version been automatically updated with each TFS 2010 Build?

孤者浪人 提交于 2019-11-29 13:56:42

问题


I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build?

Thanks


回答1:


I have a blog post on how to version your assemblies in TFS Build 2010: How to Create a Custom Workflow Activity for TFS Build 2010 RTM




回答2:


Try TfsVersioning build definition. It can be alse extended with Nugetter to create a NuGet package and upload it to a repository.




回答3:


You can use Version task from msbuildtasks

Here's blog post by Jeremy Jameson with step-by-step instructions on how to use it.



来源:https://stackoverflow.com/questions/3252643/can-assembly-version-been-automatically-updated-with-each-tfs-2010-build

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!