Can assembly version been automatically updated wi

2019-02-06 16:14发布

问题:

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.