I can't seem to find how to create an MSBuild script from within Visual Studio. Anyone know how? I'm using VS Professional.
5 Answers
Make sure the file extension is .msbuild and not .xml this will enable the intellisense.
1 Comment
I don't have any trouble (VS 2010 Premium). A standard MSBUILD file is an XML file, so opening it using File -> Open -> File should open it in the XML editor in VS. Then you can edit, add it to a project or whatever as you need.
I'm not sure if you need a certain edition for the Intellisense to work.
1 Comment
MSBuild itself is pretty straightforward so it is pretty simple to do it in any text/xml editor.
BTW, MSDN Walkthrough: Creating an MSBuild Project File from Scratch does not tell anything about Visual Studio and just provides tips how-to write script in editor.