Updated handling of expected warnings
MODIFY
Directory.Build.props
Directory.Build.props
<Version>8.0</Version>
<OutputPath Condition="'$(WSL_DISTRO_NAME)'!=''">.\bin\Linux\$(Configuration)\</OutputPath>
<NullableWarnings>CS8600,CS8601,CS8602,CS8603,CS8604,CS8610,CS8614,CS8618,CS8622,CS8625,CS8653,CS8714</NullableWarnings>
- <ExpectedWarnings>$(ExpectedWarnings)</ExpectedWarnings>
</PropertyGroup>
</Project>
\ No newline at end of file

MODIFY
Directory.Build.targets
Directory.Build.targets
<Project>
<PropertyGroup>
- <IgnoreExpectedWarnings>true</IgnoreExpectedWarnings>
- <NoWarn Condition="'$(IgnoreExpectedWarnings)'!=''">$(ExpectedWarnings)</NoWarn>
+ <NoWarn Condition="'$(IgnoreExpectedWarnings)'=='true'">$(ExpectedWarnings)</NoWarn>
<WarningsNotAsErrors>$(ExpectedWarnings)</WarningsNotAsErrors>
</PropertyGroup>
<Target Name="VSTestIfTestProject">

Updated handling of expected warnings