Skip to content

Instantly share code, notes, and snippets.

@justnom
Created August 7, 2013 15:21
Show Gist options
  • Save justnom/6175038 to your computer and use it in GitHub Desktop.
Save justnom/6175038 to your computer and use it in GitHub Desktop.
Windows Registry file for building `.vcxproj` and `.sln` with `MSBuild` from the context-menu.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.vcxproj.10.0\shell\BuildDebug]
@="Build the project (Debug)"
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.vcxproj.10.0\shell\BuildDebug\command]
@="\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\" /t:Rebuild /p:Configuration=Debug \"%1\""
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.vcxproj.10.0\shell\BuildRelease]
@="Build the project (Release)"
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.vcxproj.10.0\shell\BuildRelease\command]
@="\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\" /t:Rebuild /p:Configuration=Release \"%1\""
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\BuildDebug]
@="Build the solution (Debug)"
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\BuildDebug\command]
@="\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\" /t:Rebuild /p:Configuration=Debug \"%1\""
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\BuildRelease]
@="Build the solution (Release)"
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\BuildRelease\command]
@="\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\" /t:Rebuild /p:Configuration=Release \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment