Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dir.targets')
-rw-r--r--dir.targets12
1 files changed, 12 insertions, 0 deletions
diff --git a/dir.targets b/dir.targets
index 87ba4ae6f6..6b16e9886d 100644
--- a/dir.targets
+++ b/dir.targets
@@ -17,6 +17,18 @@
<Target Name="GenerateTestProjectJson" />
<Target Name="GenerateAllTestProjectJsons" />
+ <Target Name="UndefineTestTFM" BeforeTargets="AssignProjectConfiguration">
+ <ItemGroup>
+ <ProjectReference>
+ <!--
+ Always undefine TestTFM and FilterToTestTFM for all project reference as not needed for compilation and
+ avoid bin clash tool to fail
+ -->
+ <UndefineProperties>%(ProjectReference.UndefineProperties);TestTFM;FilterToTestTFM</UndefineProperties>
+ </ProjectReference>
+ </ItemGroup>
+ </Target>
+
<Import Project="$(ToolsDir)/Build.Common.targets" Condition="Exists('$(ToolsDir)/Build.Common.targets')" />
<!-- permit a wrapping build system to contribute targets to this build -->