38 行
1.3 KiB
XML
38 行
1.3 KiB
XML
<Project>
|
|
<Import Project="..\build\Directory.Build.props" />
|
|
|
|
<PropertyGroup>
|
|
|
|
<!-- Test projects never need to be packaged -->
|
|
<IsPackable>false</IsPackable>
|
|
|
|
<!-- Ignore warnings for public fields (TerraFX polyfills) -->
|
|
<NoWarn>$(NoWarn);CS0649</NoWarn>
|
|
|
|
<!-- Unit tests don't need public XML docs -->
|
|
<NoWarn>$(NoWarn);CS1591</NoWarn>
|
|
|
|
<!-- Ignore platform compatibility warnings -->
|
|
<NoWarn>$(NoWarn);CA1416</NoWarn>
|
|
|
|
<!-- Ignore warnings for usings outside of a namespace (needed for some Vortice.Win32 type aliases) -->
|
|
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
|
|
|
<!-- Unnecessary #nullable enable directives (for shared projects across UWP) -->
|
|
<NoWarn>$(NoWarn);IDE0240</NoWarn>
|
|
|
|
<!-- Missing readonly modifier for readonly struct members (not needed in tests) -->
|
|
<NoWarn>$(NoWarn);IDE0251</NoWarn>
|
|
|
|
<!-- Ignore obsolete warnings (due to APIs pending removal for 3.0) -->
|
|
<NoWarn>$(NoWarn);CS0618</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<!-- Reference PolySharp for all .NET Standard 2.0 test projects -->
|
|
<ItemGroup>
|
|
<PackageReference Include="PolySharp" Version="1.13.2">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>build;analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project> |