Add another CS1705 workaround in test project depending on some .NET Standard projects

This commit is contained in:
Doug Bunting 2019-12-13 12:13:56 -08:00
parent 3a67489398
commit a11d4b32ad
No known key found for this signature in database
GPG Key ID: EE41520987982C03
1 changed files with 4 additions and 0 deletions

View File

@ -2,10 +2,14 @@
<PropertyGroup>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<!-- Avoid CS1705 errors due to mix of assemblies brought in transitively. -->
<CompileUsingReferenceAssemblies>false</CompileUsingReferenceAssemblies>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.AspNetCore.Blazor.DataAnnotations.Validation" />
<!-- Avoid CS1705 errors due to mix of assemblies brought in transitively. -->
<Reference Include="Microsoft.AspNetCore.Components" />
</ItemGroup>
</Project>