- .NET SDK
10.0.103(seeglobal.json) - Claude Code CLI available locally (
claudein PATH) for real runtime usage - Git with submodule support
- Runtime lookup order:
- vendored CLI binary under
node_modules/*/vendor/<target>/claude/claude.exe - PATH candidates in order:
claude.exe,claude.cmd,claude.bat,claude
- vendored CLI binary under
- This allows local npm installs and PATH-based installs to work on Windows.
git submodule update --init --recursive
dotnet restore ManagedCode.ClaudeCodeSharpSDK.slnxClaudeCodeSharpSDK/ClaudeCodeSharpSDK.csproj— coreManagedCode.ClaudeCodeSharpSDKpackage.ClaudeCodeSharpSDK.Extensions.AI/ClaudeCodeSharpSDK.Extensions.AI.csproj— optionalIChatClientadapter package (ManagedCode.ClaudeCodeSharpSDK.Extensions.AI).ClaudeCodeSharpSDK.Tests/ClaudeCodeSharpSDK.Tests.csproj— consolidated TUnit coverage for core SDK, CLI integration, andMicrosoft.Extensions.AIadapter behavior.
dotnet build ManagedCode.ClaudeCodeSharpSDK.slnx -c Release -warnaserror
dotnet test --solution ManagedCode.ClaudeCodeSharpSDK.slnx -c Release
dotnet format ManagedCode.ClaudeCodeSharpSDK.slnxFocused run (TUnit/MTP):
dotnet test --project ClaudeCodeSharpSDK.Tests/ClaudeCodeSharpSDK.Tests.csproj -c Release -- --treenode-filter "/*/*/ThreadEventParserTests/*"dotnet pack ClaudeCodeSharpSDK/ClaudeCodeSharpSDK.csproj -c Release --no-build -o artifacts
dotnet pack ClaudeCodeSharpSDK.Extensions.AI/ClaudeCodeSharpSDK.Extensions.AI.csproj -c Release --no-build -o artifacts- CI:
.github/workflows/ci.yml - Release:
.github/workflows/release.yml - CodeQL:
.github/workflows/codeql.yml - Claude Code upstream sync watcher:
.github/workflows/claude-cli-watch.yml - Claude Code CLI smoke workflow:
.github/workflows/claude-cli-smoke.yml
CI installs the published Claude Code CLI package @anthropic-ai/claude-code, while the reference submodule tracks upstream source changes from anthropics/claude-code.