Condition="'$(IsTestProject)' == 'true' and '$(IsTestSupportProject)' != 'true'"
DependsOnTargets="BuildAndTest" />
+ <Target Name="ValidateTestProjectConfigurations"
+ BeforeTargets="CoreCompile"
+ Condition="'$(IsTestProject)' == 'true' and '$(IsTestSupportProject)' != 'true' and '$(TargetsNetStandard)' == 'true'">
+
+ <Error Text="Targeting .NET Standard in a test project isn't supported." />
+
+ </Target>
+
<PropertyGroup>
<!--
Hack workaround to skip the GenerateCompiledExpressionsTempFile target in