|
172 | 172 |
|
173 | 173 | <NuGetToolPathCondition="'$(NuGetToolPath)' == ''">$(FSharpSourcesRoot)\..\.nuget\</NuGetToolPath> |
174 | 174 | <NuGetConfigCommandLine>-ConfigFile "$(NuGetConfigFile)"</NuGetConfigCommandLine> |
175 | | - <NugetRestoreCommand>"$(NuGetToolPath)NuGet.exe install -OutputDirectory "$(PackagesDir)" -Config "$(NuGetToolPath)NuGet.Config"</NugetRestoreCommand> |
176 | | - <DnuRestoreCommand>"$(NuGetToolPath)NuGet.exe" restore -OutputDirectory "$(PackagesDir)" -Config "$(NuGetToolPath)NuGet.Config"</DnuRestoreCommand> |
| 175 | + <NugetRestoreCommand>"$(NuGetToolPath)NuGet.exe install -OutputDirectory "$(PackagesDir)" -Config "$(NuGetToolPath)..\NuGet.Config"</NugetRestoreCommand> |
| 176 | + <DnuRestoreCommand>"$(NuGetToolPath)NuGet.exe" restore -OutputDirectory "$(PackagesDir)" -Config "$(NuGetToolPath)..\NuGet.Config"</DnuRestoreCommand> |
177 | 177 |
|
178 | 178 | <!-- Current version of .NET Core does not support all semantics used in our packages, |
179 | 179 | so we ignore the pre-calculation in the lock file and calculate asset applicability in the build task--> |
|
214 | 214 | <ImportProject="Microbuild.Settings.targets"Condition="'$(UseMicroBuild)' == 'true'"/> |
215 | 215 |
|
216 | 216 | <TargetName="dotnetrestore"BeforeTargets="Build"Condition=" '$(TargetDotnetProfile)' == 'coreclr'"> |
217 | | - <ExecCommand="$(MSBuildThisFileDirectory)..\.nuget\nuget.exe restore -PackagesDirectory $(PackagesDir) -Config $(MSBuildThisFileDirectory)..\.nuget\NuGet.Config project.json" /> |
| 217 | + <ExecCommand="$(MSBuildThisFileDirectory)..\.nuget\nuget.exe restore -PackagesDirectory $(PackagesDir) -Config $(MSBuildThisFileDirectory)..\NuGet.Config project.json" /> |
218 | 218 | </Target> |
219 | 219 |
|
220 | 220 | <TargetName="dotnetrestore"BeforeTargets="Build"Condition=" '$(DOTNET_PUBLISH)' == 'true'"> |
221 | 221 | <SetEnvVarName="NUGET_PACKAGES"Value="$(NUGET_PACKAGES)" /> |
222 | | - <ExecCommand="$(MSBuildThisFileDirectory)..\Tools\dotnetcli\dotnet.exe restore--configfile $(MSBuildThisFileDirectory)..\.nuget\NuGet.Config project.json"/> |
| 222 | + <ExecCommand="$(MSBuildThisFileDirectory)..\Tools\dotnetcli\dotnet.exe restore--configfile $(MSBuildThisFileDirectory)..\NuGet.Config project.json"/> |
223 | 223 | </Target> |
224 | 224 |
|
225 | 225 | <TargetName="dotnetpublish"AfterTargets="Build"Condition=" '$(DOTNET_PUBLISH)' == 'true'"> |
|