Skip to content

Commit 49ba9d3

Browse files
Copilotmmitche
andauthored
Remove package source mapping to enable VMR backflow (#14233)
* Initial plan * Remove package source mapping and suppress NU1507 Co-authored-by: mmitche <8725170+mmitche@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mmitche <8725170+mmitche@users.noreply.github.com>
1 parent d7adb61 commit 49ba9d3

File tree

2 files changed

+3
-56
lines changed

2 files changed

+3
-56
lines changed

NuGet.config

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -16,62 +16,6 @@
1616
<!-- CsWin32 dailies -->
1717
<add key="winsdk" value="https://pkgs.dev.azure.com/azure-public/winsdk/_packaging/CI/nuget/v3/index.json" />
1818
</packageSources>
19-
<packageSourceMapping>
20-
<clear />
21-
<packageSource key="dotnet-eng">
22-
<package pattern="microsoft.*" />
23-
<package pattern="runtime.*" />
24-
<package pattern="system.*" />
25-
</packageSource>
26-
<packageSource key="dotnet-libraries">
27-
<package pattern="System.Runtime.CompilerServices.Unsafe" />
28-
</packageSource>
29-
<packageSource key="dotnet-libraries-transport">
30-
<package pattern="Microsoft.Private.Intellisense" />
31-
</packageSource>
32-
<packageSource key="dotnet-tools">
33-
<package pattern="microsoft.*" />
34-
<package pattern="MicroBuild.Core.Sentinel" />
35-
<package pattern="sn" />
36-
</packageSource>
37-
<packageSource key="dotnet9">
38-
<package pattern="microsoft.*" />
39-
<package pattern="runtime.*" />
40-
<package pattern="system.*" />
41-
</packageSource>
42-
<packageSource key="dotnet9-transport">
43-
<package pattern="microsoft.*" />
44-
<package pattern="system.*" />
45-
</packageSource>
46-
<packageSource key="dotnet10">
47-
<package pattern="microsoft.*" />
48-
<package pattern="runtime.*" />
49-
<package pattern="system.*" />
50-
</packageSource>
51-
<packageSource key="dotnet10-transport">
52-
<package pattern="microsoft.*" />
53-
<package pattern="system.*" />
54-
</packageSource>
55-
<packageSource key="dotnet11">
56-
<package pattern="microsoft.*" />
57-
<package pattern="runtime.*" />
58-
<package pattern="system.*" />
59-
</packageSource>
60-
<packageSource key="dotnet11-transport">
61-
<package pattern="microsoft.*" />
62-
<package pattern="system.*" />
63-
</packageSource>
64-
<packageSource key="winsdk">
65-
<package pattern="microsoft.*" />
66-
</packageSource>
67-
<!-- This is the default feed -->
68-
<packageSource key="dotnet-public">
69-
<package pattern="microsoft.*" />
70-
<package pattern="runtime.*" />
71-
<package pattern="system.*" />
72-
<package pattern="*" />
73-
</packageSource>
74-
</packageSourceMapping>
7519
<disabledPackageSources>
7620
<clear />
7721
</disabledPackageSources>

eng/Analyzer.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<!-- Only upgrade NuGetAudit warnings to errors for official builds. -->
77
<WarningsNotAsErrors Condition="'$(OfficialBuild)' != 'true'">$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
88

9+
<!-- Suppress NU1507 (Package source mapping is not compatible with VMR backflow operations) -->
10+
<NoWarn>$(NoWarn);NU1507</NoWarn>
11+
912
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
1013

1114
<!--

0 commit comments

Comments
 (0)