File tree Expand file tree Collapse file tree 8 files changed +33
-0
lines changed
src/Microsoft.DotNet.Arcade.Sdk/tools Expand file tree Collapse file tree 8 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1
1
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
2
2
<Project >
3
+ <PropertyGroup >
4
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
5
+ </PropertyGroup >
3
6
<Import Project =" BuildStep.props" />
4
7
5
8
<Target Name =" Rebuild" DependsOnTargets =" Clean;Build" />
Original file line number Diff line number Diff line change 1
1
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
2
2
<Project >
3
+ <PropertyGroup >
4
+ <!-- Disable target framework filtering for top level projects -->
5
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
6
+ </PropertyGroup >
7
+
3
8
<Import Project =" BuildStep.props" />
4
9
5
10
<Target Name =" Rebuild" DependsOnTargets =" Clean;Build" />
Original file line number Diff line number Diff line change 34
34
35
35
<PropertyGroup >
36
36
<_OriginalProjectsValue >$(Projects)</_OriginalProjectsValue >
37
+ <!-- Disable target framework filtering for top level projects -->
38
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
37
39
</PropertyGroup >
38
40
39
41
<ItemDefinitionGroup >
Original file line number Diff line number Diff line change 1
1
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
2
2
<Project DefaultTargets =" Publish" >
3
+
4
+ <PropertyGroup >
5
+ <!-- Disable target framework filtering for top level projects -->
6
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
7
+ </PropertyGroup >
8
+
3
9
<!--
4
10
Documentation for publishing is available here:
5
11
- https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/Publishing.md
Original file line number Diff line number Diff line change 2
2
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
3
3
<Project DefaultTargets =" Validate" >
4
4
5
+ <PropertyGroup >
6
+ <!-- Disable target framework filtering for top level projects -->
7
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
8
+ </PropertyGroup >
9
+
5
10
<Import Project =" BuildTasks.props" />
6
11
7
12
<UsingTask TaskName =" Microsoft.DotNet.Arcade.Sdk.ValidateLicense" AssemblyFile =" $(ArcadeSdkBuildTasksAssembly)" />
Original file line number Diff line number Diff line change 1
1
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. -->
2
2
<Project DefaultTargets =" Sign" >
3
+
4
+ <PropertyGroup >
5
+ <!-- Disable target framework filtering for top level projects -->
6
+ <NoTargetFrameworkFiltering >true</NoTargetFrameworkFiltering >
7
+ </PropertyGroup >
8
+
3
9
<Import Project =" BuildStep.props" />
4
10
5
11
<Import Project =" $(NuGetPackageRoot)microsoft.dotnet.signtool\$(MicrosoftDotNetSignToolVersion)\build\Microsoft.DotNet.SignTool.props" />
Original file line number Diff line number Diff line change 28
28
<DetectSourceBuildIntermediateNupkgLicense Condition =" '$(DetectSourceBuildIntermediateNupkgLicense)' == ''" >true</DetectSourceBuildIntermediateNupkgLicense >
29
29
30
30
<EnableDefaultSourceBuildIntermediateItems Condition =" '$(EnableDefaultSourceBuildIntermediateItems)' == ''" >true</EnableDefaultSourceBuildIntermediateItems >
31
+
32
+ <!-- This is fed into the inner source build as an environment variable (DotNetTargetFrameworkFilter) to enable filtering.
33
+ The default target framework filter includes all recent netcoreapps in SBRP, as well as 8.0 (latest) and 7.0 (working to get rid of it -->
34
+ <_DefaultNetFrameworkFilter >netstandard2.0%3bnetstandard2.1%3bnetcoreapp2.1%3bnet5.0%3bnet6.0%3bnet7.0%3bnet8.0</_DefaultNetFrameworkFilter >
35
+ <SourceBuildTargetFrameworkFilter Condition =" '$(SourceBuildTrimNetFrameworkTargets)' == 'true' and '$(SourceBuildTargetFrameworkFilter)' == ''" >$(_DefaultNetFrameworkFilter)</SourceBuildTargetFrameworkFilter >
31
36
</PropertyGroup >
32
37
33
38
<Target Name =" GetSourceBuildIntermediateNupkgNameConvention" >
Original file line number Diff line number Diff line change 92
92
<ItemGroup >
93
93
<!-- Override package cache to separate source-built packages from upstream. -->
94
94
<InnerBuildEnv Include =" NUGET_PACKAGES=$(CurrentRepoSourceBuildPackageCache)" />
95
+ <InnerBuildEnv Include =" DotNetTargetFrameworkFilter=$(SourceBuildTargetFrameworkFilter)" />
95
96
</ItemGroup >
96
97
</Target >
97
98
You can’t perform that action at this time.
0 commit comments