Fix TestUtilities IsTestProject being set to true inside VS (#40089)
authorViktor Hofer <viktor.hofer@microsoft.com>
Wed, 29 Jul 2020 19:12:17 +0000 (21:12 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jul 2020 19:12:17 +0000 (21:12 +0200)
src/libraries/Common/tests/TestUtilities/TestUtilities.csproj

index 8b6dd46..5646078 100644 (file)
@@ -1,6 +1,8 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <!-- For some reason, xunit.core.props isn't excluded in VS and sets this to true. -->
+    <IsTestProject>false</IsTestProject>
     <!--
       This assembly is referenced from rid agnostic configurations therefore we can't make it RID specific
       and instead use runtime checks.