File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/Tasks/Microsoft.NET.Build.Tasks/targets Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,23 @@ Copyright (c) .NET Foundation. All rights reserved.
45
45
<TargetPlatformMinVersion Condition =" '$(TargetPlatformMinVersion)' == ''" >$(TargetPlatformVersion)</TargetPlatformMinVersion >
46
46
</PropertyGroup >
47
47
48
+ <!-- Used by analyzers in the Microsoft.Windows.SDK.NET.Ref package. -->
49
+ <PropertyGroup Condition =" '$(IncludeWindowsSDKRefFrameworkReferences)' == 'true'" >
50
+ <CsWinRTAotOptimizerEnabled Condition =" '$(CsWinRTAotOptimizerEnabled)' == '' and $([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 6" >true</CsWinRTAotOptimizerEnabled >
51
+ <CsWinRTAotExportsEnabled Condition =" '$(CsWinRTAotExportsEnabled)' == '' and '$(CsWinRTAotOptimizerEnabled)' == 'true' and '$(PublishAot)' == 'true'" >true</CsWinRTAotExportsEnabled >
52
+ <CsWinRTCcwLookupTableGeneratorEnabled Condition =" '$(CsWinRTCcwLookupTableGeneratorEnabled)' == '' and '$(CsWinRTGenerateProjection)' != 'true'" >true</CsWinRTCcwLookupTableGeneratorEnabled >
53
+ </PropertyGroup >
54
+
55
+ <ItemGroup Condition =" '$(IncludeWindowsSDKRefFrameworkReferences)' == 'true'" >
56
+ <CompilerVisibleProperty Include =" CsWinRTAotOptimizerEnabled" />
57
+ <CompilerVisibleProperty Include =" CsWinRTAotExportsEnabled" />
58
+ <CompilerVisibleProperty Include =" CsWinRTRcwFactoryFallbackGeneratorForceOptIn" />
59
+ <CompilerVisibleProperty Include =" CsWinRTRcwFactoryFallbackGeneratorForceOptOut" />
60
+ <CompilerVisibleProperty Include =" CsWinRTCcwLookupTableGeneratorEnabled" />
61
+ <CompilerVisibleProperty Include =" CsWinRTMergeReferencedActivationFactories" />
62
+ <CompilerVisibleProperty Include =" CsWinRTAotWarningLevel" />
63
+ </ItemGroup >
64
+
48
65
<Target Name =" _ErrorOnUnresolvedWindowsSDKAssemblyConflict"
49
66
AfterTargets =" ResolveAssemblyReferences"
50
67
Condition =" '@(ResolveAssemblyReferenceUnresolvedAssemblyConflicts)' != '' " >
You can’t perform that action at this time.
0 commit comments