Hi all.

Are you dreaming of compiling/building binaries without waiting hours for Visual Studio to open up?

Well Now you can!

This is something nice I picked up from one of the Integration guys at work

To download the fileSubscribe to our feed and you will find it at the bottom of it

double click it and your there…

The result is this nice Windows Explorer or Total Commander context menu additional options:

Example of Copile From Explorer

Notes:1. It’s build debug only version.

1. Will not work for unmanaged (win32 types) projects.

for the suspicious ones :)

Just create a text file and name it <whatever>.reg, copy what’s written below in blue into it and double click it to integrate it into the registry

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Build]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Build\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:build /v:m /p:Configuration=Debug;Platform=\”x86\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Clean]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Clean\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:clean /v:n /p:Configuration=Debug;Platform=\”x86\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Rebuild]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sln\shell\Rebuild\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:rebuild /v:n /p:Configuration=Debug;Platform=\”x86\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Build]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Build\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:build /v:m /p:Configuration=Debug;Platform=\”AnyCPU\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Clean]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Clean\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:clean /v:n /p:Configuration=Debug;Platform=\”AnyCPU\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Rebuild]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.csproj\shell\Rebuild\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:rebuild /v:n /p:Configuration=Debug;Platform=\”AnyCPU\”\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Build]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Build\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:build /v:m /p:Configuration=Debug\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Clean]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Clean\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:clean /v:n /p:Configuration=Debug\””

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Rebuild]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.proj\shell\Rebuild\command]

@=”cmd.exe /K \”\”%%windir%%\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe\” \”%1\” /t:rebuild /v:n /p:Configuration=Debug\””

Have fun

Amit

Tags :

Post a Comment