Compiling Visual Studio projects from context menu

I was looking for a solution to complie dotnet projects without opening the solution or project file i.e compilation from windows context menu. I found one similar item at codeplex but it didn't helped much because of tedious installation process and GUI which could have been avoided. So.. finally I decided to do my own old windows trick. You can add the below command to invoke the msbuild from context menu

Path defined should be : HKEY_CLASSES_ROOT\*\Shell\MSBuild\Command

Default command to be entered is : cmd.exe /c C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe "%1" (Here your framework version may be different depending upon your installation)



Post a Comment