File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 77
77
</ItemGroup>
78
78
79
79
<Message Text="Restoring NuGet packages..." Importance="High" />
80
+
81
+ <!-- Use Restore target first to avoid attempt to restore TestCommon using NuGet.exe. -->
82
+ <MSBuild Projects="@(_ProjectsToRestore)" Targets="Restore"
83
+ BuildInParallel="$(BuildInParallel)"
84
+ Condition=" '$(BuildPortable)' == 'true' "
85
+ Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion)" />
80
86
<Exec Command='"$(NuGetExe)" restore "%(_NuGetPackagesAndSolutions.Identity)" ^
81
87
-PackagesDirectory packages -NonInteractive ^
82
88
-Verbosity quiet -ConfigFile "$(MSBuildThisFileDirectory)\.nuget\NuGet.Config"' />
83
- <MSBuild Projects="@(_ProjectsToRestore)" Targets="Restore"
84
- BuildInParallel="$(BuildInParallel)"
85
- Condition=" '$(BuildPortable)' == 'true' "
86
- Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion)" />
87
89
</Target>
88
90
89
91
<!-- Pick the right Microsoft.Web.FxCop package to use and copy it to a standard location. -->
You can’t perform that action at this time.
0 commit comments