Skip to content
Merged
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
17 changes: 17 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,22 @@
<packageSources>
<clear />
<add key="ORT-Nightly" value="https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/nuget/v3/index.json" />
<!-- The WinML SDK (Microsoft.Windows.AI.MachineLearning) and its dependencies are published to
nuget.org, which the <clear /> above removes. Upstream CI resolves them through internal
package infrastructure; a standalone build agent needs the public source declared here. -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>

<!-- ORT-Nightly is an upstream-proxying feed: for a package it does not host it answers 401
(prompting for credentials) rather than 404, which aborts the restore instead of falling
through to the next source. Route everything to nuget.org except the ORT packages the
nightly feed actually owns. -->
<packageSourceMapping>
<packageSource key="ORT-Nightly">
<package pattern="Microsoft.ML.OnnxRuntime*" />
</packageSource>
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
</configuration>
Loading