This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 5757 <NugetRestoreCommand Condition =" '$(OsEnvironment)'=='Unix'" >mono $(NuGetRestoreCommand)</NugetRestoreCommand >
5858 </PropertyGroup >
5959
60+ <!-- list of nuget package sources passed to dnu -->
61+ <ItemGroup >
62+ <DnuSourceList Include =" https://www.myget.org/F/dotnet-core/" />
63+ <DnuSourceList Include =" https://www.myget.org/F/dotnet-coreclr/" />
64+ <DnuSourceList Include =" https://www.myget.org/F/dotnet-corefx/" />
65+ <DnuSourceList Include =" https://www.myget.org/F/dotnet-corefxtestdata/" />
66+ <DnuSourceList Include =" https://www.myget.org/F/dotnet-buildtools/" />
67+ <DnuSourceList Include =" https://www.nuget.org/api/v2/" />
68+ </ItemGroup >
6069
6170 <PropertyGroup >
6271 <DnxPackageDir Condition =" '$(DnxPackageDir)'==''" >$(PackagesDir)/$(DnxPackageName)/</DnxPackageDir >
6372 <DnuToolPath Condition =" '$(DnuToolPath)'=='' and '$(OsEnvironment)'!='Unix'" >$(DnxPackageDir)\bin\dnu.cmd</DnuToolPath >
6473 <DnuToolPath Condition =" '$(DnuToolPath)'=='' and '$(OsEnvironment)'=='Unix'" >$(DnxPackageDir)/bin/dnu</DnuToolPath >
6574
75+ <DnuRestoreSource >@(DnuSourceList -> '--source %(Identity)', ' ')</DnuRestoreSource >
76+
6677 <DnuRestoreCommand >"$(DnuToolPath)"</DnuRestoreCommand >
6778 <DnuRestoreCommand >$(DnuRestoreCommand) restore</DnuRestoreCommand >
6879 <DnuRestoreCommand >$(DnuRestoreCommand) --parallel</DnuRestoreCommand >
69- <DnuRestoreCommand >$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/'))"</DnuRestoreCommand >
80+ <DnuRestoreCommand >$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('/'))" $(DnuRestoreSource) </DnuRestoreCommand >
7081 <DnuRestoreCommand Condition =" '$(LockDependencies)' == 'true'" >$(DnuRestoreCommand) --lock</DnuRestoreCommand >
7182 </PropertyGroup >
7283
Original file line number Diff line number Diff line change 8787 <!-- Restore build tools -->
8888 <Exec Command =" $(_RestoreBuildToolsCommand)" StandardOutputImportance =" Low" />
8989
90- <!-- currently DNU doesn't support -ConfigFile: https://github.com/aspnet/dnx/issues/1693
91- Our DnuRestoreCommand doesn't force a config file and we rely on the
92- directory probing for it to find nuget.config. This works for restore from source,
93- but not restore from PackagesDir as happens for test project restore since PackagesDir
94- will not be under src. To workaround, copy our nuget.config to packages. -->
95- <Copy Condition =" Exists('$(NuGetConfigFile)')" SourceFiles =" $(NuGetConfigFile)" DestinationFolder =" $(PackagesDir)" SkipUnchangedFiles =" true" />
96- <Copy Condition =" Exists('$(NuGetConfigFile)')" SourceFiles =" $(NuGetConfigFile)" DestinationFolder =" $(IntermediateOutputRootPath)" SkipUnchangedFiles =" true" />
97-
9890 <!-- Add DNU and Roslyn tool execute rights -->
9991 <Exec Condition =" '$(OsEnvironment)'=='Unix'"
10092 Command =" chmod a+x " $(DnxPackageDir)/bin/dnu" " />
Original file line number Diff line number Diff line change 33 <packageRestore >
44 <add key =" enabled" value =" True" />
55 </packageRestore >
6+ <!--
7+ this is used for boot-strapping build tools. if you need to add a new
8+ nuget package source please add it to the item group in dir.props instead.
9+ -->
610 <packageSources >
711 <clear />
8- <add key =" myget.org dotnet-core" value =" https://www.myget.org/F/dotnet-core/" />
9- <add key =" myget.org dotnet-corefxtestdata" value =" https://www.myget.org/F/dotnet-corefxtestdata/" />
1012 <add key =" myget.org dotnet-buildtools" value =" https://www.myget.org/F/dotnet-buildtools/" />
11- <add key =" nuget.org" value =" https://www.nuget.org/api/v2/" />
1213 </packageSources >
1314 <config >
1415 <add key =" repositoryPath" value =" ..\packages" />
You can’t perform that action at this time.
0 commit comments