Visual Studio automatically launches MSBuild for supported projects.
If you right-click on a project and upload it, you can edit it in Visual Studio. Reboot (right click on the project again), force (re) build to check your changes. An alternative is to edit the project file in an external editor, and Visual Studio will detect the save and offer to reload the project for you.
It looks like you're on the right track, and if you plan on writing Targets or custom MSBuild tasks, take the time to separate them from your current project so that you can reuse them. However, donโt redo the wheel, but two main additional MSBuild projects: MSBuild Community Tasks and MSBuild Extension Pack .
Update: Judging by the comments of Mitch, you can also consider adding a new configuration item or custom properties to the project. The new MSBuild configuration (something other than the default Debug / Release) can run unit tests, build documentation, or whatever you want to automate. The custom MSBuild property allows you to use the usual Debug / Release configuration and extend it to automate more of the build process, it just depends on what you want. Any of these approaches can also be inferred from the command line .
si618 Sep 30 '09 at 10:52 2009-09-30 10:52
source share