<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>$(CurrentTargetFramework)</TargetFramework>
    <OutputType>exe</OutputType>
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <!--
      Don't error when generators/analyzers can't be loaded.
      This can occur when running tests against FullFramework MSBuild
      if the build machine has an MSBuild install with an older version of Roslyn
      than the generators in the SDK reference. We aren't testing the generators here
      and this failure will occur more clearly in other places when it's
      actually an important failure, so don't error out here.
    -->
    <WarningsNotAsErrors>CS9057</WarningsNotAsErrors>
  </PropertyGroup>

  <Target Name="TestTarget">
    <Warning Text="The value of property is '$(TestProperty)'" />
  </Target>

</Project>
