diff --git a/.gitignore b/.gitignore index 9a528c309b..34bf943e24 100644 --- a/.gitignore +++ b/.gitignore @@ -249,6 +249,9 @@ python/dotnet-ref dotnet/filtered-*.slnx **/*.lscache +# Local .NET build overrides +/dotnet/Directory.Build.rsp + # Local tool state .omc/ .omx/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b0d32bb35..0b0b4bec73 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -167,6 +167,18 @@ Each language has its own dev setup guide, coding standards, and build scripts: - Integration tests: `dotnet test --filter-query "/*IntegrationTests*/*/*/*"` (requires API keys/endpoints) - Linting (auto-fix): `dotnet format` +#### Microsoft Internal Feed Proxy for GitHub Copilot SDK (.NET) + +Microsoft contributors can route GitHub Copilot SDK npm downloads through the internal proxy without passing extra `dotnet` arguments: + +1. Create `dotnet/Directory.Build.rsp` with: + + ```text + -p:CopilotNpmRegistryUrl=https://packagefeedproxy.microsoft.io/npm/ + ``` + +When running `dotnet build` (or other `dotnet` commands) from the `./dotnet` directory, this property is applied automatically. + ### PR - CI Process The continuous integration (CI) system will automatically perform the required diff --git a/dotnet/.gitignore b/dotnet/.gitignore index 572680831e..60f723c18b 100644 --- a/dotnet/.gitignore +++ b/dotnet/.gitignore @@ -83,8 +83,6 @@ StyleCopReport.xml *.pgc *.pgd *.rsp -# but not Directory.Build.rsp, as it configures directory-level build defaults -!Directory.Build.rsp *.sbr *.tlb *.tli