MSBuild Team releases AssemblyInfoTask

The MSBuild team has released a great new task, the AssemblyInfoTask. This task makes it easy to automatically update the assembly version numbers (both AssemblyVersion and AssemblyFileVersion, as well as other assembly information attributes) as part of your build process. Neil, on one of the PMs on the team, was nice enough to give me an early look version of the task, and it ROCKS. It's very flexible and easy to use - easily the best solution to the problem that I've found.

It took me a couple iterations to figure out the best way to incorporate it into our multi-project, multi-solution build, but with some tips from the MSBuild team, I got it working very cleanly and effectively. I'll post some info about how I did it in another blog post when I get a chance.

Oh, and they've released the source (with unit tests) as well. Very cool.

2 Comments

  • Hey Kevin,



    I'm working on the same "issue". Could you give a few about what you did to get the AssemblyInfoTask working in a multi-project situation.



    Thanks.





    ______________________________

    - David Lanouette

    - DLanouette _at_ Computer.org

  • Hi, i got problem with changing assemblyinfo by using AssemblyInfoTask and MSBuild.
    Would you please give me a sample for AssemblyInfoTask and MSbuild?
    Thanks
    ( itsnvthoai@yahoo.co.uk)

Comments have been disabled for this content.