File tree 2 files changed +14
-21
lines changed
src/BuildAfterTargetingPack
2 files changed +14
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 38
38
SkipGetTargetFrameworkProperties =" true" />
39
39
</ItemGroup >
40
40
41
+ <!-- This is temporary until we can use FrameworkReference to build our own packages. -->
42
+ <Target Name =" RemoveSharedFrameworkOnlyRefsFromNuspec" BeforeTargets =" Build;BuildDelayedProjects"
43
+ Condition =" '$(MSBuildRuntimeType)' == 'core' " >
44
+ <ItemGroup >
45
+ <_BuildOutput Include =" $(ArtifactsShippingPackagesDir)*.nupkg"
46
+ Exclude =" $(ArtifactsShippingPackagesDir)*.symbols.nupkg" />
47
+ </ItemGroup >
48
+
49
+ <RepoTasks .RemoveSharedFrameworkDependencies Condition =" '@(_BuildOutput->Count())' != '0'"
50
+ Files =" @(_BuildOutput)"
51
+ FrameworkOnlyPackages =" @(AspNetCoreAppReference)"
52
+ SharedFrameworkTargetFramework =" $(DefaultNetCoreTargetFramework)" />
53
+ </Target >
54
+
41
55
<!-- Cannot build in source-build because that does not create an App.Ref layout. -->
42
56
<Target Name =" BuildDelayedProjects"
43
57
BeforeTargets =" Build"
You can’t perform that action at this time.
0 commit comments