- Windows WDK and SDK (version 1903 or later)
- Git for Windows
- Windows 10 Anniversary Update (or newer)
-
Install WDK/SDK following instructions in https://docs.microsoft.com/windows-hardware/drivers/download-the-wdk
-
Install Git for Windows.
-
Clone the repository (
git clone https://github.com/microsoft/DTrace-on-Windows
). -
Execute
releng\Get-ExternalTools.ps1
in PowerShell. (Right-click the script and select Run with PowerShell.) -
Open
opendtrace.sln
in Visual Studio. -
Change the target platform as needed and build the solution.