Add PlatformManifest to runtime package (#11046)
This commit is contained in:
parent
40f0c28261
commit
7a8487e2bd
|
|
@ -2,6 +2,7 @@
|
|||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<ManifestsPackagePath>data/</ManifestsPackagePath>
|
||||
<!-- Shared between targeting pack and runtime build. -->
|
||||
<PlatformManifestFileName>PlatformManifest.txt</PlatformManifestFileName>
|
||||
<PlatformManifestOutputPath>$(ArtifactsObjDir)$(PlatformManifestFileName)</PlatformManifestOutputPath>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|||
<IsProjectReferenceProvider>false</IsProjectReferenceProvider>
|
||||
|
||||
<PackageConflictManifestFileName>PackageOverrides.txt</PackageConflictManifestFileName>
|
||||
<ManifestsPackagePath>data/</ManifestsPackagePath>
|
||||
|
||||
<!-- Reference implementation assemblies in addition to ref assemblies to get xml docs -->
|
||||
<ReferenceImplementationAssemblies>true</ReferenceImplementationAssemblies>
|
||||
|
|
|
|||
|
|
@ -265,11 +265,21 @@ This package is an internal implementation of the .NET Core SDK and is not meant
|
|||
BeforeTargets="_GetPackageFiles;GenerateNuspec"
|
||||
DependsOnTargets="ResolveReferences">
|
||||
<ItemGroup>
|
||||
<!-- Native files are included in _PackageFile instead because they belong in a separate package folder.r -->
|
||||
<!-- Native files are included in _PackageFile instead because they belong in a separate package folder. -->
|
||||
<Content Include="@(ReferenceCopyLocalPaths)" PackagePath="$(NativeAssetsPackagePath)" Condition=" '%(ReferenceCopyLocalPaths.IsNativeImage)' == 'true' AND '%(ReferenceCopyLocalPaths.Extension)' != '.pdb' " />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<Target Name="_ResolveRuntimePackContent"
|
||||
BeforeTargets="_GetPackageFiles"
|
||||
DependsOnTargets="GenerateSharedFxDepsFile">
|
||||
<ItemGroup>
|
||||
<RuntimePackContent Include="$(PlatformManifestOutputPath)" PackagePath="$(ManifestsPackagePath)" />
|
||||
|
||||
<_PackageFiles Include="@(RuntimePackContent)" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
##############################################
|
||||
Targets related to crossgen
|
||||
|
|
|
|||
Loading…
Reference in New Issue