Skip to content

Commit a44c879

Browse files
authored
Add clear element to Nuget.config
2. Add `disabledPackageSources` to `nuget.config` 3. Remove useless feed from `nuget.config` Co-authored-by: wyunchi-ms <[email protected]>
1 parent ef6a150 commit a44c879

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

NuGet.Config

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<clear/>
5+
<!-- Do not add any additional feeds if new packages are needed they need to come from nuget.org or our azure-sdk-for-net DevOps feed -->
46
<add key="local-feed" value="tools/LocalFeed" />
57
<add key="myget-azure-powershell" value="https://www.myget.org/F/azure-powershell/api/v3/index.json" />
6-
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
78
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
89
</packageSources>
10+
<disabledPackageSources>
11+
<clear />
12+
</disabledPackageSources>
913
</configuration>

tools/Az.Tools.Predictor/NuGet.Config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
<packageSources>
44
<clear />
55
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
6-
<add key="azure-powershell" value="https://www.myget.org/F/azure-powershell/api/v3/index.json" />
76
</packageSources>
7+
<disabledPackageSources>
8+
<clear />
9+
</disabledPackageSources>
810
</configuration>

tools/NetCoreCsProjSync/NuGet.Config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<clear/>
45
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5-
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
66
</packageSources>
7+
<disabledPackageSources>
8+
<clear />
9+
</disabledPackageSources>
710
</configuration>

tools/NetCorePsd1Sync/NuGet.Config

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<clear/>
45
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5-
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
66
</packageSources>
7+
<disabledPackageSources>
8+
<clear />
9+
</disabledPackageSources>
710
</configuration>

0 commit comments

Comments
 (0)