@@ -41,6 +41,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant
41
41
<!-- Platform manifest data -->
42
42
<FrameworkListFileName >FrameworkList.xml</FrameworkListFileName >
43
43
<FrameworkListOutputPath >$(ArtifactsObjDir)$(FrameworkListFileName)</FrameworkListOutputPath >
44
+
45
+ <!-- Platform manifest and package override metatdata -->
46
+ <ReferencePackSharedFxVersion >$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0</ReferencePackSharedFxVersion >
47
+ <ReferencePlatformManifestOutputPath >$(ArtifactsObjDir)ref\PlatformManifest.txt</ReferencePlatformManifestOutputPath >
44
48
</PropertyGroup >
45
49
46
50
<ItemGroup >
@@ -122,17 +126,28 @@ This package is an internal implementation of the .NET Core SDK and is not meant
122
126
<RefPackContent Include =" @(AspNetCoreReferenceAssemblyPath)" PackagePath =" $(RefAssemblyPackagePath)" />
123
127
<RefPackContent Include =" @(AspNetCoreReferenceDocXml)" PackagePath =" $(RefAssemblyPackagePath)" />
124
128
<RefPackContent Include =" $(TargetDir)$(PackageConflictManifestFileName)" PackagePath =" $(ManifestsPackagePath)" />
125
- <RefPackContent Include =" $(PlatformManifestOutputPath )" PackagePath =" $(ManifestsPackagePath)" />
129
+ <RefPackContent Include =" $(ReferencePlatformManifestOutputPath )" PackagePath =" $(ManifestsPackagePath)" />
126
130
</ItemGroup >
131
+
132
+ <RepoTasks .GenerateSharedFrameworkDepsFile
133
+ DepsFilePath =" $(ProjectDepsFilePath)"
134
+ TargetFramework =" $(TargetFramework)"
135
+ FrameworkName =" $(TargetingPackName)"
136
+ FrameworkVersion =" $(ReferencePackSharedFxVersion)"
137
+ References =" @(AspNetCoreReferenceAssemblyPath)"
138
+ RuntimeIdentifier =" $(TargetRuntimeIdentifier)"
139
+ RuntimePackageName =" $(PackageId)"
140
+ PlatformManifestOutputPath =" $(ReferencePlatformManifestOutputPath)" />
127
141
</Target >
128
142
129
143
<Target Name =" GeneratePackageConflictManifest"
130
144
DependsOnTargets =" ResolveReferences"
131
145
Inputs =" $(MSBuildAllProjects)"
132
146
Outputs =" $(TargetDir)$(PackageConflictManifestFileName)" >
147
+
133
148
<ItemGroup >
134
149
<_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(NuGetPackageId)|%(NuGetPackageVersion)')" Condition =" '%(ReferencePath.NuGetPackageId)' != 'Microsoft.NETCore.App' AND '%(ReferencePath.NuGetSourceType)' == 'Package' " />
135
- <_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(FileName)|$(SharedFxVersion )')" Condition =" '%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(ReferencePath.IsReferenceAssembly)' == 'true' " />
150
+ <_AspNetCoreAppPackageOverrides Include =" @(ReferencePath->'%(FileName)|$(ReferencePackSharedFxVersion )')" Condition =" '%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' AND '%(ReferencePath.IsReferenceAssembly)' == 'true' " />
136
151
</ItemGroup >
137
152
138
153
<WriteLinesToFile
0 commit comments