-
-
Save mhutch/96acdcfabd16b69aa5ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<AssignProjectConfiguration | |
ProjectReferences = "@(ProjectReference)" | |
SolutionConfigurationContents = "$(CurrentSolutionConfigurationContents)" | |
- Condition="'$(BuildingSolutionFile)' == 'true'"> | |
+ Condition="'$(CurrentSolutionConfigurationContents)' != '"> | |
<Output TaskParameter = "AssignedProjects" ItemName = "ProjectReferenceWithConfiguration"/> | |
</AssignProjectConfiguration> | |
<!-- Else, just --> | |
- <CreateItem Include="@(ProjectReference)" Condition="'$(BuildingSolutionFile)' != 'true'"> | |
+ <CreateItem Include="@(ProjectReference)" Condition="'$(CurrentSolutionConfigurationContents)' == ''"> | |
<Output TaskParameter="Include" ItemName="ProjectReferenceWithConfiguration"/> | |
</CreateItem> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment