@@ -18,11 +18,10 @@ This package is an internal implementation of the .NET Core SDK and is not meant
18
18
<PackageTags >aspnetcore;targeting-pack</PackageTags >
19
19
<SuppressDependenciesWhenPacking >true</SuppressDependenciesWhenPacking >
20
20
21
- <!-- Subject to change: see https://github.com/dotnet/designs/pull/50 -->
22
- <PackageType >TargetingPack</PackageType >
21
+ <PackageType >DotnetPlatform</PackageType >
23
22
<RefAssemblyPackagePath >ref/$(TargetFramework)/</RefAssemblyPackagePath >
24
23
25
- <LayoutTargetDir >$(TargetingPackLayoutRoot)packs/Microsoft.AspNetCore.App.Ref/$(PackageVersion)/$(RefAssemblyPackagePath) </LayoutTargetDir >
24
+ <LayoutTargetDir >$(TargetingPackLayoutRoot)packs/Microsoft.AspNetCore.App.Ref/$(PackageVersion)/</LayoutTargetDir >
26
25
<ArchiveOutputFileName >aspnetcore-targeting-pack-$(PackageVersion).zip</ArchiveOutputFileName >
27
26
<ArchiveOutputPath >$(InstallersOutputPath)$(ArchiveOutputFileName)</ArchiveOutputPath >
28
27
@@ -56,7 +55,6 @@ This package is an internal implementation of the .NET Core SDK and is not meant
56
55
$(BuildDependsOn);
57
56
GeneratePackageConflictManifest;
58
57
_ResolveTargetingPackContent;
59
- _BatchCopyToOutputDirectory;
60
58
_BatchCopyToLayoutTargetDir;
61
59
_CreateTargetingPackArchive;
62
60
</BuildDependsOn >
@@ -87,15 +85,11 @@ This package is an internal implementation of the .NET Core SDK and is not meant
87
85
88
86
<AspNetCoreReferenceDocXml Include =" @(AspNetCoreReferenceAssemblyPath->'%(RootDir)%(Directory)%(FileName).xml')" />
89
87
90
- <!-- Exclude known missing XML docs files. Time-boxing this workaround because we want XML docs for everything. This can be removed when we get a new build with https://github.com/dotnet/core-setup/pull/5109. -- >
91
- <AspNetCoreReferenceDocXml Remove =" @(AspNetCoreReferenceDocXml)"
92
- Condition = " '$(MicrosoftNETCoreAppPackageVersion)' == '3.0.0-preview-27405-2' AND ('%(FileName)' == 'Microsoft.Extensions.DependencyModel' OR '%(FileName)' == 'Microsoft.DotNet.PlatformAbstractions' )" />
88
+ <RefPackContent Include = " @(AspNetCoreReferenceAssemblyPath) " PackagePath = " $(RefAssemblyPackagePath) " / >
89
+ <RefPackContent Include =" @(AspNetCoreReferenceDocXml)" PackagePath = " $(RefAssemblyPackagePath) " />
90
+ < RefPackContent Include = " $(TargetDir)$(PackageConflictManifestFileName) " PackagePath = " $(PackageConflictManifestPackagePath )" />
93
91
94
- <RefPackContent Include =" @(AspNetCoreReferenceAssemblyPath)" />
95
- <RefPackContent Include =" @(AspNetCoreReferenceDocXml)" />
96
-
97
- <_PackageFiles Include =" @(RefPackContent)" PackagePath =" $(RefAssemblyPackagePath)" />
98
- <_PackageFiles Include =" $(TargetDir)$(PackageConflictManifestFileName)" PackagePath =" $(PackageConflictManifestPackagePath)" />
92
+ <_PackageFiles Include =" @(RefPackContent)" />
99
93
</ItemGroup >
100
94
</Target >
101
95
@@ -114,25 +108,14 @@ This package is an internal implementation of the .NET Core SDK and is not meant
114
108
Overwrite =" true" />
115
109
</Target >
116
110
117
- <!-- Written to take advantage of target batching in MSBuild. -->
118
- <Target Name =" _BatchCopyToOutputDirectory"
119
- DependsOnTargets =" _ResolveTargetingPackContent"
120
- Inputs =" @(RefPackContent)"
121
- Outputs =" @(RefPackContent->'$(TargetDir)%(FileName)%(Extension)')" >
122
-
123
- <Copy SourceFiles =" @(RefPackContent)"
124
- DestinationFiles =" @(RefPackContent->'$(TargetDir)%(FileName)%(Extension)')"
125
- UseHardlinksIfPossible =" true" />
126
- </Target >
127
-
128
111
<!-- Written to take advantage of target batching in MSBuild. -->
129
112
<Target Name =" _BatchCopyToLayoutTargetDir"
130
113
DependsOnTargets =" _ResolveTargetingPackContent"
131
114
Inputs =" @(RefPackContent)"
132
- Outputs =" @(RefPackContent->'$(LayoutTargetDir)%(FileName)%(Extension)')" >
115
+ Outputs =" @(RefPackContent->'$(LayoutTargetDir)%(PackagePath)%( FileName)%(Extension)')" >
133
116
134
117
<Copy SourceFiles =" @(RefPackContent)"
135
- DestinationFiles =" @(RefPackContent->'$(LayoutTargetDir)%(FileName)%(Extension)')"
118
+ DestinationFiles =" @(RefPackContent->'$(LayoutTargetDir)%(PackagePath)%( FileName)%(Extension)')"
136
119
UseHardlinksIfPossible =" true" />
137
120
</Target >
138
121
0 commit comments