-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Area: LanguageIssues impacting the MSBuild programming language.Issues impacting the MSBuild programming language.
Description
I'm not sure if this is a bug, or if it's been reported already, but this:
<Project>
<PropertyGroup>
<StuffWithQuotes>What's Up</StuffWithQuotes>
<StuffWithoutQuotes>Down Under</StuffWithoutQuotes>
</PropertyGroup>
<ItemGroup>
<ItemGroupWithQuotes Include="@(EmptyItemGroup->'$(StuffWithQuotes)')" />
<ItemGroupWithoutQuotes Include="@(EmptyItemGroup->'$(StuffWithoutQuotes)')" />
</ItemGroup>
<Target Name="Build">
<Warning Text="ItemGroupWithQuotes=@(ItemGroupWithQuotes)" />
<Warning Text="ItemGroupWithoutQuotes=@(ItemGroupWithoutQuotes)" />
</Target>
</Project>
Prints:
warning ItemGroupWithQuotes=@(EmptyItemGroup->What's Up)
warning ItemGroupWithoutQuotes=
I'd expect the "ItemGroupWithQuotes" line to behave like the "ItemGroupWithoutQuotes" line.
Metadata
Metadata
Assignees
Labels
Area: LanguageIssues impacting the MSBuild programming language.Issues impacting the MSBuild programming language.