2
0

Directory.Build.props 868 B

12345678910111213141516
  1. <Project>
  2. <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" Condition="Exists('$(MSBuildThisFileDirectory)..\Directory.Build.props')" />
  3. <PropertyGroup>
  4. <!--
  5. Even though we're not interested in producing XML docs for test projects, we have to enable this in order to have the .NET Compiler
  6. Platform analyzers produce the IDE0005 (Remove unnecessary import) diagnostic.
  7. To avoid warnings for missing XML docs, we add CS1591 (Missing XML comment for publicly visible type or member) to the NoWarn property.
  8. We can stop producing XML docs for test projects (and remove the NoWarn for CS1591) once the following issue is fixed:
  9. https://github.com/dotnet/roslyn/issues/41640.
  10. -->
  11. <NoWarn>$(NoWarn);CS1591</NoWarn>
  12. </PropertyGroup>
  13. </Project>