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

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/msbuild/MonoDevelop.BeforeCommon.targets')
-rw-r--r--main/msbuild/MonoDevelop.BeforeCommon.targets7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/msbuild/MonoDevelop.BeforeCommon.targets b/main/msbuild/MonoDevelop.BeforeCommon.targets
index 7c4c96a266..638acb1d14 100644
--- a/main/msbuild/MonoDevelop.BeforeCommon.targets
+++ b/main/msbuild/MonoDevelop.BeforeCommon.targets
@@ -98,4 +98,11 @@
</Reference>
</ItemGroup>
+ <!--
+ Hide these refs behind an import so NuGet doesn't see them and generate spurious NU1108 "cycle detected" errors even when the condition is false.
+ This means that they have to be imported AFTER the project instead of before it, so the project can set AddMonoDevelopCoreReferences.
+ -->
+ <Import Project="$(MSBuildThisFileDirectory)CoreReferences.props" Condition="'$(AddMonoDevelopCoreReferences)' == 'true'" />
+
+
</Project>