File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 111
111
112
112
<PropertyGroup >
113
113
<NuGetCommand >$(MSBuildProjectDirectory)\tools\NuGet.exe</NuGetCommand >
114
+ <LibraryNugetPackageFolder >$(LibrarySourceFolder)\packages</LibraryNugetPackageFolder >
114
115
<NuGetRestoreConfigFile >$(MSBuildProjectDirectory)\restore.config</NuGetRestoreConfigFile >
115
116
<NuGetRestoreConfigSwitch >-ConfigFile " $(NuGetRestoreConfigFile)" </NuGetRestoreConfigSwitch >
117
+ <NuGetRestorePackageSetting >-PackagesDirectory $(LibraryNugetPackageFolder)</NuGetRestorePackageSetting >
118
+
116
119
<PowerShellCommand >C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</PowerShellCommand >
117
120
</PropertyGroup >
118
121
135
138
Encoding =" Unicode" />
136
139
137
140
<Exec Command =" $(NuGetCommand) sources add -Name LocalFeed -Source " $(MSBuildProjectDirectory)\tools\LocalFeed" $(NuGetRestoreConfigSwitch)" />
138
-
141
+ < Exec Command = " $(NuGetCommand) sources add -Name nugetRemote -Source " https://api.nuget.org/v3/index.json " $(NuGetRestoreConfigSwitch) " />
139
142
<!-- Restore packages -->
140
- <Exec Command =" $(NuGetCommand) restore %(CmdletSolutionsToBuild.FullPath) $(NuGetRestoreConfigSwitch)"
143
+ <Exec Command =" $(NuGetCommand) restore %(CmdletSolutionsToBuild.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting) "
141
144
ContinueOnError =" false" />
142
145
<!-- Restore packages for static analysis-->
143
146
<Exec Command =" $(NuGetCommand) restore %(StaticAnalysis.FullPath) $(NuGetRestoreConfigSwitch)"
You can’t perform that action at this time.
0 commit comments