[Fixes #7656] Deps file for netstandard2.0 targeting projects copied by Microsoft.AspNetCore.Mvc.Testing does not play well with Mvc
This commit is contained in:
parent
e781cd38cf
commit
1cede88f26
|
|
@ -17,7 +17,9 @@
|
|||
|
||||
<Target Name="_ResolveMvcTestProjectReferences" DependsOnTargets="ResolveReferences">
|
||||
<ItemGroup>
|
||||
<_ContentRootProjectReferences Include="@(ReferencePath)" Condition="'%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference'" />
|
||||
<_ContentRootProjectReferences
|
||||
Include="@(ReferencePath)"
|
||||
Condition="'%(ReferencePath.ReferenceSourceTarget)' == 'ProjectReference' and '%(ReferencePath.TargetFrameworkIdentifier)' != '.NETStandard'" />
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue