Downloads of v 6.1.9:


Last Update:

03 Jul 2021

Package Maintainer(s):

Software Author(s):

  • 0xd4d
  • ElektroKill


dnspy dnspyex assembly cil debugger decompiler dnlib dotnet editor il ilspy msil net .net


  • 1
  • 2
  • 3

6.1.9 | Updated: 03 Jul 2021



Downloads of v 6.1.9:



Software Author(s):

  • 0xd4d
  • ElektroKill

  • 1
  • 2
  • 3
dnSpyEx 6.1.9

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Passed


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5


Deployment Method: Individual Install, Upgrade, & Uninstall

To install dnSpyEx, run the following command from the command line or from PowerShell:


To upgrade dnSpyEx, run the following command from the command line or from PowerShell:


To uninstall dnSpyEx, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade dnspyex -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade dnspyex -y --source="'INTERNAL REPO URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install dnspyex
    name: dnspyex
    version: '6.1.9'
    state: present

See docs at

chocolatey_package 'dnspyex' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '6.1.9'

See docs at

cChocoPackageInstaller dnspyex
    Name     = "dnspyex"
    Version  = "6.1.9"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'dnspyex':
  ensure   => '6.1.9',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator TheCakeIsNaOH on 26 Jul 2021.


dnSpy is a debugger and .NET assembly editor. You can use it to edit and debug assemblies even if you don't have any source code available. Main features:

  • Debug .NET and Unity assemblies
  • Edit .NET and Unity assemblies
  • Light and dark themes

See below for more features




  • Debug .NET Framework, .NET and Unity game assemblies, no source code required
  • Set breakpoints and step into any assembly
  • Locals, watch, autos windows
  • Variables windows support saving variables (eg. decrypted byte arrays) to disk or view them in the hex editor (memory window)
  • Object IDs
  • Multiple processes can be debugged at the same time
  • Break on module load
  • Tracepoints and conditional breakpoints
  • Export/import breakpoints and tracepoints
  • Call stack, threads, modules, processes windows
  • Break on thrown exceptions (1st chance)
  • Variables windows support evaluating C# / Visual Basic expressions
  • Dynamic modules can be debugged (but not dynamic methods due to CLR limitations)
  • Output window logs various debugging events, and it shows timestamps by default :)
  • Assemblies that decrypt themselves at runtime can be debugged, dnSpy will use the in-memory image. You can also force dnSpy to always use in-memory images instead of disk files.
  • Public API, you can write an extension or use the C# Interactive window to control the debugger

Assembly Editor

  • All metadata can be edited
  • Edit methods and classes in C# or Visual Basic with IntelliSense, no source code required
  • Add new methods, classes or members in C# or Visual Basic
  • IL editor for low-level IL method body editing
  • Low-level metadata tables can be edited. This uses the hex editor internally.

Hex Editor

  • Click on an address in the decompiled code to go to its IL code in the hex editor
  • The reverse of the above, press F12 in an IL body in the hex editor to go to the decompiled code or other high-level representation of the bits. It's great to find out which statement a patch modified.
  • Highlights .NET metadata structures and PE structures
  • Tooltips show more info about the selected .NET metadata / PE field
  • Go to position, file, RVA
  • Go to .NET metadata token, method body, #Blob / #Strings / #US heap offset or #GUID heap index
  • Follow references (Ctrl+F12)


  • BAML decompiler
  • Blue, light and dark themes (and a dark high contrast theme)
  • Bookmarks
  • C# Interactive window can be used to script dnSpy
  • Search assemblies for classes, methods, strings, etc
  • Analyze class and method usage, find callers, etc
  • Multiple tabs and tab groups
  • References are highlighted, use Tab / Shift+Tab to move to the next reference
  • Go to the entry point and module initializer commands
  • Go to metadata token or metadata row commands
  • Code tooltips (C# and Visual Basic)
  • Export to project

List of other open source libraries used by dnSpy

  • ILSpy decompiler engine (C# and Visual Basic decompilers)
  • Roslyn (C# and Visual Basic compilers)
  • dnlib (.NET metadata reader/writer which can also read obfuscated assemblies)
  • VS MEF (Faster MEF equals faster startup)
  • ClrMD (Access to lower level debugging info not provided by the CorDebug API)
  • Iced (x86/x64 disassembler)

Translating dnSpy

Click here if you want to help with translating dnSpy to your native language.


dnSpy is released under the GPLv3 license, see GPLv3.txt for more information.

    Copyright (C) 2014-2019 [email protected]

    This file is part of dnSpy

    dnSpy is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    dnSpy is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with dnSpy.  If not, see <>.

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

1.  Download the zip archive:


2.  You can use one of the following methods to obtain the checksum:
    - Use powershell function 'Get-FileHash'
    - Use Chocolatey utility 'checksum.exe'
    - Using AU:

3.  Compare to Checksum:

    checksum32: AB881A7DEE96478326D7B6C2E27793C9E9B2608AE6BEFE7A95046D981100132A
    checksum64: 8C01E7FD5C1684CD52DBEE6C18D267990F2C1D2F3CFD23D037EA324508CE8E12

File 'LICENSE.txt' is obtained from:
$packageName = $env:ChocolateyPackageName

$p = Get-Process -Name dnSpy -ea 0
if (!$p) {
    Write-Host "$packageName is not running."

Write-Host "$packageName is running, trying to gracefully shut it down before upgrade/uninstall..."
Stop-Process -InputObject $p -Force
$ErrorActionPreference = "Stop";

$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"

# Extract twice because of nested zips
$packageArgs = @{
  fileFullPath   = Get-Item $toolsDir\*
  fileFullPath64 = Get-Item $toolsDir\*
  destination    = "$toolsDir\temp"
Get-ChocolateyUnzip @packageArgs
$packageArgs = @{
  packageName    = $env:ChocolateyPackageName
  fileFullPath   = Get-Item $toolsDir\temp\*
  fileFullPath64 = Get-Item $toolsDir\temp\*
  destination    = $toolsDir
Get-ChocolateyUnzip @packageArgs

# Zip not needed anymore
Remove-Item $toolsDir\temp -Recurse -Force -ea 0 
Remove-Item $toolsDir\*.zip -Force -ea 0 

$file = Get-Childitem $toolsDir -Include dnSpy.exe -Recurse
$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")
# Do not shim dnSpy GUI and add a shortcut for it
New-Item "$file.ignore" -Type file -Force
Install-ChocolateyShortcut `
  -ShortcutFilePath "$startMenuPath\$($file.BaseName).lnk" `
  -TargetPath $file
$ErrorActionPreference = "Stop";

$startMenuPath = [Environment]::GetFolderPath("CommonPrograms")

Remove-Item "$startMenuPath\dnSpy.lnk" -Force -ea 0
md5: AFFCF2B6338EA9F980E186A9375665E8 | sha1: B8A199D95591076B9B994CB67EB37F56A81DD36C | sha256: AB881A7DEE96478326D7B6C2E27793C9E9B2608AE6BEFE7A95046D981100132A | sha512: 829E58B525D72296015B1716F1740F888DB70ED4D30D83E945916D178A13FC25AE98D40A184CB4F56D20CD9A5086BC032E8686D0065644CD4DDD40C7793D6CA0
md5: 3B12F03B78411AD6470CC4A674881E47 | sha1: 1EE8F21474F2A8D36739A11DD66C41714B28B768 | sha256: 8C01E7FD5C1684CD52DBEE6C18D267990F2C1D2F3CFD23D037EA324508CE8E12 | sha512: 13FB3E5590AEEE2D47D50A40C5AC14986F4E8E98CD2D12DFB8B88DF090A5FC78A19DAD5094957830C51A8B1EE287C4E251012DA439B5ACA341D402BED138CB57

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status

This package has no dependencies.

Discussion for the dnSpyEx Package

Ground Rules:

  • This discussion is only about dnSpyEx and the dnSpyEx package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or dnSpyEx, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus