File tree 2 files changed +6
-4
lines changed
Microsoft.NET.Build.Extensions.Tasks
Microsoft.NET.Build.Tasks 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
<ItemGroup >
31
31
<PackageReference Include =" Microsoft.Build.Framework" Version =" $(MsBuildPackagesVersion)" ExcludeAssets =" Runtime" />
32
32
<PackageReference Include =" Microsoft.Build.Utilities.Core" Version =" $(MsBuildPackagesVersion)" ExcludeAssets =" Runtime" />
33
- <PackageReference Include =" XliffTasks" Version =" $(XliffTasksVersion)" PrivateAssets =" All" />
34
- <PackageReference Include =" NETStandard.Library.NETFramework" Version =" $(NETStandardLibraryNETFrameworkVersion)" ExcludeAssets =" All" NoWarn =" NU1701" />
33
+ <PackageReference Include =" System.Reflection.Metadata" Version =" $(SystemReflectionMetadataVersion)" Condition =" '$(TargetFramework)' == 'netcoreapp2.0' " />
34
+ <PackageReference Include =" System.Diagnostics.FileVersionInfo" Version =" 4.0.0" Condition =" '$(TargetFramework)' == 'netcoreapp2.0' " />
35
+ <PackageReference Include =" XliffTasks" Version =" $(XliffTasksVersion)" />
36
+
35
37
</ItemGroup >
36
38
37
39
<ItemGroup >
195
197
196
198
<!-- Remove files from copy local that would not be published as they are provided by the platform package -->
197
199
<!-- https://github.com/dotnet/sdk/issues/933 tracks a first class feature for this -->
198
- <Target Name =" FilterCopyLocal" DependsOnTargets =" RunResolvePublishAssemblies" BeforeTargets =" ResolveLockFileCopyLocalProjectDeps" >
200
+ <Target Name =" FilterCopyLocal" DependsOnTargets =" GetFrameworkPaths;GetReferenceAssemblyPaths; RunResolvePublishAssemblies" BeforeTargets =" ResolveLockFileCopyLocalProjectDeps" >
199
201
<ItemGroup >
200
202
<_CopyLocalButNotPublished Include =" @(AllCopyLocalItems)" Exclude =" @(ResolvedAssembliesToPublish)" />
201
203
<AllCopyLocalItems Remove =" @(_CopyLocalButNotPublished)" />
Original file line number Diff line number Diff line change 89
89
90
90
<!-- Remove files from copy local that would not be published as they are provided by the platform package -->
91
91
<!-- https://github.com/dotnet/sdk/issues/933 tracks a first class feature for this -->
92
- <Target Name =" FilterCopyLocal" DependsOnTargets =" RunResolvePublishAssemblies" BeforeTargets =" ResolveLockFileCopyLocalProjectDeps" >
92
+ <Target Name =" FilterCopyLocal" DependsOnTargets =" GetFrameworkPaths;GetReferenceAssemblyPaths; RunResolvePublishAssemblies" BeforeTargets =" ResolveLockFileCopyLocalProjectDeps" >
93
93
<ItemGroup >
94
94
<_CopyLocalButNotPublished Include =" @(AllCopyLocalItems)" Exclude =" @(ResolvedAssembliesToPublish)" />
95
95
<AllCopyLocalItems Remove =" @(_CopyLocalButNotPublished)" />
You can’t perform that action at this time.
0 commit comments