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

This file was deleted.

8 changes: 3 additions & 5 deletions Samples/WindowsML/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<!-- Set the packages directory for packages.config projects (C++ projects) -->
<add key="repositoryPath" value="packages" />
</config>
<packageSources>
<!-- Add local packages directory as a source -->
<add key="localpackages" value="../localpackages" />
</packageSources>
<!-- Package sources are inherited from parent NuGet.Config -->
<!-- Run SamplesFeed-Hydration.yml whenever samples are updated. -->
<!-- Do not add package sources other than WinAppSDK-SampleDeps or localpackages. -->
<!-- Package sources are inherited from Samples/nuget.config. -->
</configuration>
23 changes: 4 additions & 19 deletions Samples/nuget.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file was added for building in the CI pipeline. It is not used when building locally. -->
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<!-- Allow NuGet to download missing packages -->
Expand All @@ -9,23 +8,9 @@
</packageRestore>
<packageSources>
<clear />
<!-- publicly accessible NuGet feed -->
<!-- Run SamplesFeed-Hydration.yml whenever samples are updated. -->
<!-- Do not add package sources other than WinAppSDK-SampleDeps or localpackages. -->
<!-- Public Azure Artifacts feed used by both external developers and CI. -->
<add key="WinAppSDK-SampleDeps" value="https://pkgs.dev.azure.com/shine-oss/WinAppSDK-Samples/_packaging/WinAppSDK-SampleDeps/nuget/v3/index.json" />

<!-- a local directory to allow testing nupkg files without pushing to a remote feed -->
<add key="localpackages" value="localpackages" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>

<packageSourceMapping>
<packageSource key="WinAppSDK-SampleDeps">
<package pattern="Microsoft.WindowsAppSDK.*" />
</packageSource>
<packageSource key="nuget.org">
<package pattern="System.*" />
<package pattern="Microsoft.*" />
</packageSource>
</packageSourceMapping>

<disabledPackageSources />
</configuration>