summaryrefslogtreecommitdiff
path: root/tests/override.targets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/override.targets')
-rw-r--r--tests/override.targets13
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/override.targets b/tests/override.targets
index a01163225f..0e7f82bf77 100644
--- a/tests/override.targets
+++ b/tests/override.targets
@@ -3,13 +3,13 @@
Overrides for all other targets (including build tools) can go in this file.
-->
- <!-- Contains overrides for the nuget reference resolution. The regular nuget reference resolution will not
+ <!-- Contains overrides for the nuget reference resolution. The regular nuget reference resolution will not
copy references local, which we need in order to correctly execute the xunit project -->
<Import Project="xunitwrapper.targets" Condition="'$(IsXunitWrapperProject)'=='true'" />
<!-- Override the AddDesignTimeFacadeReferences target to add the ability to reference System.Private.CoreLib.
Some tests use functionality not available in the portable reference assemblies.
- For portability reasons it's generally a good idea to reference the facades instead of the
+ For portability reasons it's generally a good idea to reference the facades instead of the
raw implementation assemblies. However, these tests are useful. -->
<Target Name="AddDesignTimeFacadeReferences"
Condition="'$(ReferenceSystemPrivateCoreLib)' == 'true'"
@@ -21,4 +21,13 @@
<ReferencePath Include="$(ProjectDir)\..\bin\Product\$(BuildOS).$(BuildArch).$(BuildType)\System.Private.CoreLib.dll" />
</ItemGroup>
</Target>
+
+ <PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
+ <!--
+ Allow this project to setup the default target frameworks. Note this depends on the targeting packs that VS
+ installs to resolve mscorlib and System. That should be fixed in the future.
+ -->
+ <_TargetFrameworkDirectories></_TargetFrameworkDirectories>
+ <_FullFrameworkReferenceAssemblyPaths></_FullFrameworkReferenceAssemblyPaths>
+ </PropertyGroup>
</Project>