Last active
October 20, 2015 08:32
-
-
Save riezebosch/c7e5969be40ebd2614b1 to your computer and use it in GitHub Desktop.
VS External Tools ILSpy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ilspy = gci -Path "$env:ChocolateyInstall\lib\ILSpy*\tools\ILSpy.exe" | select -ExpandProperty FullName | |
pushd 'HKCU:\Software\Microsoft\VisualStudio\14.0\External Tools' | |
$index = [int](gp . -Name ToolNumKeys).ToolNumKeys | |
sp . -Name ToolNumKeys -Value $($index+1) | |
sp . -Name ToolTitle$index -Value "ILSpy" | |
sp . -Name ToolCmd$index -Value $ilspy | |
sp . -Name ToolArg$index -Value '"$(TargetPath)"' | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment