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'">