Skip to content

Instantly share code, notes, and snippets.

@FilipDeVos
Created March 27, 2013 10:14
Show Gist options
  • Save FilipDeVos/5253185 to your computer and use it in GitHub Desktop.
Save FilipDeVos/5253185 to your computer and use it in GitHub Desktop.
Registry file to add an "Execute with MsBuild" menu option when you right click on an MsBuild file. A command window will be opened and stays open when the build is finished. Automatically writes an msbuild.log file as well.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\proj_file\shell\Execute with MSBuild\command]
@="cmd /k C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe /filelogger /p:PublishToNuGetFeedServer=false"
[HKEY_CLASSES_ROOT\.proj]
@="proj_file"
[HKEY_CLASSES_ROOT\.csproj]
@="proj_file"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment