Move pkg tools import for runtime.json override (dotnet/core-setup#5512)
authorDavis Goodin <dagood@users.noreply.github.com>
Tue, 19 Mar 2019 21:06:51 +0000 (16:06 -0500)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2019 21:06:51 +0000 (16:06 -0500)
IncludeRuntimeJson was being overridden by dir.props, but the value in dir.props should have been overridden.

Commit migrated from https://github.com/dotnet/core-setup/commit/b0cfc6e820a94a1251e4fbb8cc2411ca351e3209

src/installer/pkg/projects/dir.props

index 5eadbd6..671e68d 100644 (file)
@@ -20,8 +20,6 @@
     <PackProjectDependencies>true</PackProjectDependencies>
   </PropertyGroup>
 
-  <Import Project="packaging-tools\packaging-tools.props" />
-
   <!-- In *.builds projects, the current phase's name is the same as the project name. -->
   <PropertyGroup>
     <BuildPhase>$(MSBuildProjectName)</BuildPhase>
@@ -71,6 +69,8 @@
     </Otherwise>
   </Choose>
 
+  <Import Project="packaging-tools\packaging-tools.props" />
+
   <PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.depproj'">
     <!-- we intentionally don't want to produce output -->
     <OutputPath>unused</OutputPath>