Condition that a project is referenced #6848
Unanswered
danielchalmers
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to have a condition that triggers if a
ProjectReferenceexists for a certain project?Use case: In my
Directory.Build.targetsI want to use the new Global Using spec to include a Using for a project if it's referenced.Sample:
<Using Include="MyProject.Common" Condition="'%(ProjectReference.Contains('MyProject.Common'))'" />Beta Was this translation helpful? Give feedback.
All reactions