/ src / Common.Dotnet.AotCompatibility.props
Common.Dotnet.AotCompatibility.props
 1  <?xml version="1.0" encoding="utf-8"?>
 2  <!-- Some items may be set in Directory.Build.props in root -->
 3  <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 4    <PropertyGroup>
 5      <IsAotCompatible>true</IsAotCompatible>
 6      <CsWinRTAotOptimizerEnabled>true</CsWinRTAotOptimizerEnabled>
 7      <CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
 8  
 9      <!-- Suppress DynamicallyAccessedMemberTypes.PublicParameterlessConstructor in fallback code path of Windows SDK projection -->
10      <!-- Suppress CA1416 for Windows-specific APIs that are used in PowerToys which only runs on Windows 10.0.19041.0+ -->
11      <WarningsNotAsErrors>IL2081;CsWinRT1028;CA1416;$(WarningsNotAsErrors)</WarningsNotAsErrors>
12    </PropertyGroup>
13  </Project>