Create context shortcut for Visual Studio msbuild

November 17, 2008 at 11:11 pm Leave a comment

I have searched in the internet to find an easy way to rebuild my visual studio solution without open it.  Then I find there is a way to update the registry to provide a context shortcut to run msbuild command by right-click on .sln file from David Mohundro’s website.

You can create a msbuild.reg file by copying the below script (which this is for .net framework 3.5), and run this reg file.

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\msbuild]
[HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\shell\msbuild\command]
@=”\”C:\\WINDOWS\\Microsoft.NET\\Framework\\v3.5\\MSBuild.exe\” /target:Rebuild \”%1\”"

0811msbuild_shortcut

Advertisement

Entry filed under: Tech Share. Tags: , , .

Javascript: onchange problem Create Custom Windows Shortcut

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent Posts

Categories


Follow

Get every new post delivered to your Inbox.