Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"dnx",
"Microsoft.AITools.BinlogMcp",
"--yes",
"--source",
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json"
"--prerelease"
],
"tools": ["*"]
}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/evaluation-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ jobs:
ref: ${{ inputs.head_sha || '' }}
persist-credentials: false

- name: Configure NuGet for evaluations
run: |
mkdir -p "$HOME/.nuget/NuGet"
cp eng/evaluation/nuget.config "$HOME/.nuget/NuGet/NuGet.Config"

- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion eng/allowed-external-deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ script:migrate-nullable-references:scripts/Get-NullableReadiness.ps1
tool-ref:msbuild:#tool:web/fetch
tool-ref:msbuild:#tool:agent/runSubagent

# dotnet-msbuild plugin: Microsoft.AITools.BinlogMcp server (binlog analysis MCP from dotnet-public feed)
# dotnet-msbuild plugin: Microsoft.AITools.BinlogMcp server (binlog analysis MCP)
mcp-server:dotnet-msbuild:binlog
14 changes: 14 additions & 0 deletions eng/evaluation/nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- Evaluation workspaces are created outside the repository, so the workflow
installs this as the runner's user-level configuration. -->
<packageSources>
<clear />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="dotnet-public">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>
6 changes: 3 additions & 3 deletions eng/version/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
PR author added to remap the nbgv package source to a malicious feed and
achieve code execution in the privileged context. Pointing `dotnet` at this
file with its configfile option makes NuGet use ONLY these settings (no
hierarchical discovery), and source mapping pins every package to nuget.org.
hierarchical discovery), and source mapping pins every package to dotnet-public.

IMPORTANT: keep this comment free of a doubled hyphen. XML forbids the two
hyphen sequence inside a comment, so a phrase like the configfile flag written
Expand All @@ -19,10 +19,10 @@
-->
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<packageSource key="dotnet-public">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
Expand Down
3 changes: 1 addition & 2 deletions plugins/dotnet-msbuild/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"dnx",
"Microsoft.AITools.BinlogMcp",
"--yes",
"--source",
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json"
"--prerelease"
],
"tools": ["*"]
}
Expand Down
3 changes: 1 addition & 2 deletions plugins/dotnet-msbuild/.codex-plugin/.mcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"dnx",
"Microsoft.AITools.BinlogMcp",
"--yes",
"--source",
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json"
"--prerelease"
],
"tools": ["*"]
}
Expand Down
3 changes: 1 addition & 2 deletions plugins/dotnet-msbuild/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"dnx",
"Microsoft.AITools.BinlogMcp",
"--yes",
"--source",
"https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json"
"--prerelease"
],
"tools": ["*"]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Use the available MCP server tools to query the binary log for:
## Fallback workflow — text-log replay (when MCP is unavailable)

Use this only when the MCP server cannot be started (for example, on an older
SDK or in an offline environment without access to the `dotnet-public` NuGet feed).
SDK or in an offline environment).

### Replay the binlog to text logs

Expand Down
Loading