Fix Microsoft.NETCore.App package version file location for RID specific packages...
authorJose Perez Rodriguez <joperezr@microsoft.com>
Fri, 12 May 2017 22:49:32 +0000 (15:49 -0700)
committerGitHub <noreply@github.com>
Fri, 12 May 2017 22:49:32 +0000 (15:49 -0700)
Commit migrated from https://github.com/dotnet/core-setup/commit/bf90d5fba3fdd244adcd7100473cd00b90d74832

src/installer/pkg/projects/Microsoft.NETCore.App/src/Microsoft.NETCore.App.depproj

index 96fcb03..69f4d7e 100644 (file)
                        Overwrite="true"/>
   </Target>
 
-  <ItemGroup>
-    <FilesToPackage Include="$(IntermediateOutputPath)\Microsoft.NETCore.App.versions.txt">
-      <TargetPath></TargetPath>
-    </FilesToPackage>
-  </ItemGroup>
-
   <!-- Fetches all the file items from the packages that we want to redist -->
   <Target Name="GetFilesFromPackages" DependsOnTargets="GetPackagePaths">
     <ItemGroup Condition="'$(NuGetRuntimeIdentifier)' != ''">
       <_sourcePath Include="@(_sourcePathCandidate)" Condition="Exists('%(Identity)')" />
     </ItemGroup>
 
+    <!-- Add versions file with the hashes of the repos we consume -->
+    <ItemGroup>
+      <FilesToPackage Include="$(IntermediateOutputPath)\Microsoft.NETCore.App.versions.txt">
+        <TargetPath></TargetPath>
+      </FilesToPackage>
+    </ItemGroup>
+
     <!-- on windows workaround max-path -->
     <!-- this can be removed once we build on core MSBuild which supports long paths. -->
     <ItemGroup Condition="'$(OsEnvironment)'=='Windows_NT'">