Skip to content

Commit 7a03356

Browse files
committed
!fixup! Correct $(BuildPortable) checks
1 parent 6c629fb commit 7a03356

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtime.msbuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@
8686
<!-- 1. Special case NetCore project because an SDK test project depends on it. -->
8787
<Exec Command='"$(NuGetExe)" restore "src\System.Net.Http.Formatting.NetCore\packages.config" ^
8888
-PackagesDirectory packages -NonInteractive ^
89-
-Verbosity quiet -ConfigFile "$(MSBuildThisFileDirectory)\.nuget\NuGet.Config"' />
89+
-Verbosity quiet -ConfigFile "$(MSBuildThisFileDirectory)\.nuget\NuGet.Config"'
90+
Condition=" '$(BuildPortable)' == 'true' " />
9091
<!-- 2. Restore SDK-style test projects because legacy test projects depend on TestCommon. -->
9192
<MSBuild Projects="@(_ProjectsToRestore)" Targets="Restore"
92-
BuildInParallel="$(BuildInParallel)"
93-
Condition=" '$(BuildPortable)' == 'true' "
94-
Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion)" />
93+
BuildInParallel="$(BuildInParallel)"
94+
Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion)" />
9595
<!-- 3. Restore remaining legacy projects. -->
9696
<Exec Command='"$(NuGetExe)" restore "%(_NuGetPackagesAndSolutions.Identity)" ^
9797
-PackagesDirectory packages -NonInteractive ^

0 commit comments

Comments
 (0)