Intellisense for MSBuild files

To “enable” Intellisense for MSBuild projects ending with the extension “msbuild”:

1)      1) Add this registry key (no line break in the key):


2)      Create a file called “test.msbuild” and then try to open it.  Choose “Select program from list” and browse to VS2005 devenv.exe and check “Always use the selected”.  Click ok.  Once Visual Studio opens, you should have it!  (Since the XSD for MSBuild is already “known” by Visual studio.  Fyi – the file is located here:



\Program Files\Microsoft Visual Studio 8\xml\Schemas\1033


If you don’t like using the .msbuild extension, you can change it.  Just modify the registry key, changing “msbuild” to whatever extension you would like to use.

This entry was posted in MSBuild, Visual Studio. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *