Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 71b9ccc

Browse files
committed
Merge pull request #2170 from JeremyKuhne/FixDnu
Fix DNU restore on Unix
2 parents 542dcda + be1eb70 commit 71b9ccc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

dir.props

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@
6060

6161
<!-- list of nuget package sources passed to dnu -->
6262
<ItemGroup>
63-
<DnuSourceList Include="https://www.myget.org/F/dotnet-core/" />
64-
<DnuSourceList Include="https://www.myget.org/F/dotnet-coreclr/" />
65-
<DnuSourceList Include="https://www.myget.org/F/dotnet-corefx/" />
66-
<DnuSourceList Include="https://www.myget.org/F/dotnet-corefxtestdata/" />
67-
<DnuSourceList Include="https://www.myget.org/F/dotnet-buildtools/" />
68-
<DnuSourceList Include="https://www.nuget.org/api/v2/" />
63+
<!-- Need to escape double forward slash (%2F) or MSBuild will normalize to one slash on Unix. -->
64+
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-core/" />
65+
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-coreclr/" />
66+
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-corefx/" />
67+
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-corefxtestdata/" />
68+
<DnuSourceList Include="https:%2F%2Fwww.myget.org/F/dotnet-buildtools/" />
69+
<DnuSourceList Include="https:%2F%2Fwww.nuget.org/api/v2/" />
6970
</ItemGroup>
7071

7172
<PropertyGroup>

0 commit comments

Comments
 (0)