Development Setup
Prerequisites
- Windows
- .NET SDK 8+
- Visual Studio 2022 or Build Tools with WPF and C++ support
Build managed projects
dotnet build WpfDevTools.sln -c Debug -p:Platform=x64
Build native bootstrapper
msbuild src/WpfDevTools.Bootstrapper/WpfDevTools.Bootstrapper.vcxproj /p:Configuration=Debug /p:Platform=x64
Switch x64 to Win32 or ARM64 when the target process requires it.
Run the test app
dotnet run --project tests/WpfDevTools.Tests.TestApp --no-build
Run the MCP server
dotnet run --project src/WpfDevTools.Mcp.Server --no-build
Build the documentation locally
dotnet tool restore
dotnet build src/WpfDevTools.Shared/WpfDevTools.Shared.csproj -c Debug -f net8.0
dotnet build src/WpfDevTools.Inspector.Sdk/WpfDevTools.Inspector.Sdk.csproj -c Debug -f net8.0-windows
dotnet tool run docfx docfx/docfx.json
Open docfx/_site/index.html in a browser after a successful build.