Skip to content

Instantly share code, notes, and snippets.

@riezebosch
Last active October 20, 2015 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riezebosch/c7e5969be40ebd2614b1 to your computer and use it in GitHub Desktop.
Save riezebosch/c7e5969be40ebd2614b1 to your computer and use it in GitHub Desktop.
VS External Tools ILSpy
$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