Skip to content

Instantly share code, notes, and snippets.

@mhutch

mhutch/foo.diff Secret

Created February 2, 2015 22:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhutch/96acdcfabd16b69aa5ba to your computer and use it in GitHub Desktop.
Save mhutch/96acdcfabd16b69aa5ba to your computer and use it in GitHub Desktop.
<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