diff options
Diffstat (limited to 'mcs/tools/xbuild/data/12.0/Microsoft.Common.targets')
-rw-r--r-- | mcs/tools/xbuild/data/12.0/Microsoft.Common.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/tools/xbuild/data/12.0/Microsoft.Common.targets b/mcs/tools/xbuild/data/12.0/Microsoft.Common.targets index fdf43ccd488..3c27732bf4f 100644 --- a/mcs/tools/xbuild/data/12.0/Microsoft.Common.targets +++ b/mcs/tools/xbuild/data/12.0/Microsoft.Common.targets @@ -328,13 +328,13 @@ <AssignProjectConfiguration ProjectReferences = "@(ProjectReference)" SolutionConfigurationContents = "$(CurrentSolutionConfigurationContents)" - Condition="'$(BuildingSolutionFile)' == 'true'"> + Condition="'$(BuildingSolutionFile)' == 'true' or '$(BuildingInsideVisualStudio)' == 'true'"> <Output TaskParameter = "AssignedProjects" ItemName = "ProjectReferenceWithConfiguration"/> </AssignProjectConfiguration> <!-- Else, just --> - <CreateItem Include="@(ProjectReference)" Condition="'$(BuildingSolutionFile)' != 'true'"> + <CreateItem Include="@(ProjectReference)" Condition="'$(BuildingSolutionFile)' != 'true' and '$(BuildingInsideVisualStudio)' != 'true'"> <Output TaskParameter="Include" ItemName="ProjectReferenceWithConfiguration"/> </CreateItem> |