[dotnet] Write FrameworkList.xml and RuntimeList.xml into our on-disk nuget representation.

This makes it so that we can create a symlink in the dotnet path directly into
our on-disk nuget representation.
This commit is contained in:
Rolf Bjarne Kvinge 2020-10-15 11:32:39 +02:00
Родитель 613ebb1dce
Коммит f6e8259a23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -44,12 +44,12 @@
<Target Name="_GenerateFrameworkListFile" Condition=" '$(_CreateFrameworkList)' == 'true' Or '$(_CreateRuntimeList)' == 'true' ">
<!-- https://github.com/dotnet/runtime/blob/0647ec314948904319da5eb15e9931f7c85ed1e2/src/installer/pkg/projects/Directory.Build.targets#L281 -->
<PropertyGroup Condition="'$(_CreateFrameworkList)' == 'true'">
<_FrameworkListFile>$(IntermediateOutputPath)FrameworkList.xml</_FrameworkListFile>
<_FrameworkListFile>$(_packagePath)data/FrameworkList.xml</_FrameworkListFile>
<_PackTargetPath>ref/net5.0</_PackTargetPath>
<_PackNativePath>runtimes/$(_RuntimeIdentifier)/native</_PackNativePath>
</PropertyGroup>
<PropertyGroup Condition="'$(_CreateRuntimeList)' == 'true'">
<_FrameworkListFile>$(IntermediateOutputPath)RuntimeList.xml</_FrameworkListFile>
<_FrameworkListFile>$(_packagePath)data/RuntimeList.xml</_FrameworkListFile>
<_PackTargetPath>runtimes/$(_RuntimeIdentifier)/lib/net5.0</_PackTargetPath>
<_PackNativePath>runtimes/$(_RuntimeIdentifier)/native</_PackNativePath>
</PropertyGroup>