Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d81696f

Browse files
Optimize nuget restore: only check for Swashbuckle packages on MyGet feed (#1766)
1 parent fc7c615 commit d81696f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

‎nuget.config

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4-
<add key="Swashbuckle MyGet" value="https://www.myget.org/F/domaindrivendev/api/v3/index.json" />
5-
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
4+
<clear />
5+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
6+
<add key="SwashbuckleMyGet" value="https://www.myget.org/F/domaindrivendev/api/v3/index.json" />
67
</packageSources>
8+
<packageSourceMapping>
9+
<packageSource key="nuget.org">
10+
<package pattern="*" />
11+
</packageSource>
12+
<packageSource key="SwashbuckleMyGet">
13+
<package pattern="Swashbuckle.*" />
14+
</packageSource>
15+
</packageSourceMapping>
716
</configuration>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /