Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.