SkiaSharp/samples/Directory.Build.props

16 строки
716 B
XML

<Project>
<!-- Workaround: Use a slightly newer compiler for C# 9 support for the workaround above -->
<ItemGroup Condition=" '$(MSBuildVersion)' != '' AND '$(MSBuildVersion)' &lt; '16.7.0' AND '$(LangVersion)' != '' AND '$(LangVersion)' &gt; '8.0' ">
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="3.9.0" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<!--
Force use Uno's Roslyn hosted generators instead of Uno.SourceGeneration tasks, even when LangVersion below 9.0.
The original issue is caused by https://github.com/unoplatform/uno/issues/9297
-->
<UnoUIUseRoslynSourceGenerators>true</UnoUIUseRoslynSourceGenerators>
</PropertyGroup>
</Project>