-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Reenable the test TestItemsWithUnexpandableMetadata
| public void TestItemsWithUnexpandableMetadata() |
Build this project:
<Project DefaultTargets="Build">
<ItemDefinitionGroup>
<F>
<MetadataFileName>a\b\%(Filename).c</MetadataFileName>
</F>
</ItemDefinitionGroup>
<ItemGroup>
<F Include="-in "x\y\z"" />
</ItemGroup>
<Target Name="Build" />
</Project>The diag console logger currently prints:
Initial Items:
F
-in "x\y\z"
MetadataFileName = Cannot expand metadata in expression "a\b\%(Filename).c". The item metadata "%(Filename)" ca
nnot be applied to the path "-in "x\y\z"". Illegal characters in path.
The logger in unit-test TestItemsWithUnexpandableMetadata currently prints:
Initial Items:
F
-in "x\y\z"
MetadataFileName = a\b\%(Filename).c
And I don't know why, nor do I know which behavior is better.