Skip to content

Add Nuget config trageting devOps feed#497

Merged
mikeharder merged 1 commit into
mainfrom
net-iso-nuget
Jul 15, 2026
Merged

Add Nuget config trageting devOps feed#497
mikeharder merged 1 commit into
mainfrom
net-iso-nuget

Conversation

@chidozieononiwu

Copy link
Copy Markdown
Member

This pull request introduces changes to standardize and secure the use of NuGet package sources for .NET builds and tests. The main improvements are the enforcement of a single, approved package source and the explicit authentication step for Azure DevOps pipelines. These changes help ensure that dependencies are only pulled from trusted locations.

NuGet package source enforcement:

  • Added a NuGet.Config file that restricts package sources to the azure-sdk-for-net feed, preventing the use of unauthorized feeds and ensuring all dependencies are resolved from a controlled source.
  • Updated dn.clean and dn.restore scripts in package.json to use the new NuGet.config file, enforcing the package source restrictions during restore and clean operations.

Pipeline authentication improvements:

  • Added a NuGetAuthenticate@1 task in eng/test-steps.yml to ensure authenticated access to the Azure DevOps package feed during CI/CD builds and tests.

@chidozieononiwu
chidozieononiwu force-pushed the net-iso-nuget branch 2 times, most recently from caefcfd to 153027d Compare July 14, 2026 18:54
@mikeharder
mikeharder merged commit ba806b2 into main Jul 15, 2026
8 checks passed
@mikeharder
mikeharder deleted the net-iso-nuget branch July 15, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants