tags:

views:

117

answers:

2

I'd like to automatically update the AssemblyFileVersion on each build, though not the AssemblyVersion.

Is there any easy way that don't require every developer to install the MSBuild community tasks ?

(I'd basically like AssemblyVersion("1.0.*") but for the AssemblyFileVersion )

+1  A: 

Just include the MSBuild community tasks in your version control system, there's no need to install it.

GraemeF
That needs a link: http://msbuildtasks.tigris.org/
Hans Passant
+1: I think this is a valid answer because the default rule set is unbelievably limited. Every developer needs the community tasks. Either that or your own custom tasks - there are too many things MSBuild can't do out-of-the-box.
romkyns
A: 

I use this tool:

http://autobuildversion.codeplex.com/

Stephen Wrighton
I prefer TeamCity to manage my build numbers: http://www.jetbrains.com/teamcity/
romkyns
yes, but that's fundamentally a build server. The tool I pointed to, integrates with Visual Studio IDE. After all, sometimes a build server is overkill.
Stephen Wrighton