Good day!
I’m looking for solution for perform such task from command-line:
- Compile ASP.NET MVC 2.0 application (1 asp.net mvc project and 2 class projects in 1 solution)
- Perform Web.config transformation
- Delete some files and folders from compilation result
- Run bat-file which add svn revision number using svnversion
- Run external archiver to compress the release
- Still have the ability to debug using VS
I’m using Visual Web Developer 2010, my project already have Web.Release.config and Web.Debug.config.
Can this be done using MSBuild?
Thank in advance!
Yes, you should be able to use MSBuild to do most if not all of the tasks. Check out the MSBuild Community Tasks, they add quite a bit of functionality.
http://msbuildtasks.tigris.org/
HTH