9
votes

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

Thanks

3
I wrote a blog post about my total experience with versioning in Team Build 2010: afsharm.blogspot.com/2010/07/…Afshar Mohebi

3 Answers

3
votes

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
votes

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

0
votes

You can use Version task from msbuildtasks

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