Skip to content

Commit b6e5727

Browse files
committed
Add package source mapping to fix package restore in .NET 8.
1 parent 3b4452b commit b6e5727

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Subatomix.Build.Versioning.Semantic.msbuildproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@
5151
<add key="local" value="$([System.IO.Path]::GetFullPath('$(PackageOutputPath)'))" />
5252
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5353
</packageSources>
54+
<packageSourceMapping>
55+
<packageSource key="local">
56+
<package pattern="Subatomix.Build.Versioning.Semantic" />
57+
</packageSource>
58+
<packageSource key="nuget.org">
59+
<package pattern="*" />
60+
</packageSource>
61+
</packageSourceMapping>
5462
</configuration>
5563
]]>
5664
</_NuGetConfigContent>

0 commit comments

Comments
 (0)