File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 42
42
<BaseOutputPath >$(BaseArtifactsPath)bin/$(BaseArtifactsPathSuffix)/</BaseOutputPath >
43
43
<Company >.NET Foundation</Company >
44
44
<ContinuousIntegrationBuild Condition =" '$(GITHUB_RUN_ID)' != ''" >true</ContinuousIntegrationBuild >
45
- <EnableAotAnalyzer >true</EnableAotAnalyzer >
46
- <EnableSingleFileAnalyzer >true</EnableSingleFileAnalyzer >
47
- <EnableTrimAnalyzer >true</EnableTrimAnalyzer >
48
45
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
49
46
<PackageOutputPath >$(BaseArtifactsPath)pkg/$(Configuration)/</PackageOutputPath >
50
47
<PackageValidationBaselineVersion >16.0.0</PackageValidationBaselineVersion >
55
52
<VersionSuffix Condition =" '$(GITHUB_EVENT_NAME)' == 'pull_request'" >pr</VersionSuffix >
56
53
</PropertyGroup >
57
54
55
+ <!-- Default settings that explicitly differ for .NETCoreApp -->
56
+ <PropertyGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" >
57
+ <EnableAotAnalyzer >true</EnableAotAnalyzer >
58
+ <EnableSingleFileAnalyzer >true</EnableSingleFileAnalyzer >
59
+ </PropertyGroup >
60
+
58
61
<!-- Default settings that are otherwise undefined -->
59
62
<PropertyGroup >
60
63
<AssemblyOriginatorKeyFile >$(MSBuildThisFileDirectory)Open.snk</AssemblyOriginatorKeyFile >
Original file line number Diff line number Diff line change 26
26
</PropertyGroup >
27
27
28
28
<!-- Settings that are only set for libraries -->
29
- <PropertyGroup Condition =" '$(OutputType)' == 'Library'" >
29
+ <PropertyGroup Condition =" '$(OutputType)' == 'Library' AND '$(TargetFrameworkIdentifier)' == '.NETCoreApp' " >
30
30
<EnableTrimAnalyzer >true</EnableTrimAnalyzer >
31
31
<IsTrimmable >true</IsTrimmable >
32
32
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments