Skip to content

Commit

Permalink
Enable target framework attribute on test assemblies (dotnet#39806)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored Jul 26, 2019
1 parent c96e389 commit a71f32d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@
<NoStdLib>true</NoStdLib>
<NoExplicitReferenceToStdLib>true</NoExplicitReferenceToStdLib>
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<!-- Enable the target framework attribute on test assemblies as vstest relies on that property. -->
<GenerateTargetFrameworkAttribute Condition="'$(IsTestProject)' != 'true'">false</GenerateTargetFrameworkAttribute>
<CopyNuGetImplementations>false</CopyNuGetImplementations>
<!-- Don't reference implicit framework packages, all projects in this repo must be explicit -->
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
Expand Down

0 comments on commit a71f32d

Please sign in to comment.