Open
Description
- Create a .NET Core project
- Edit .csproj in Visual Studio
- Add the following target:
<Target Name="CheckForFile" BeforeTargets="_CheckForInvalidConfigurationAndPlatform">
<ItemGroup>
<TestItem Include="@(None->WithMetadataValue('Identity', 'output.txt'))" />
</ItemGroup>
<Error Text="file not found" Condition="" />
</Target>
- Save
EXPECTED: Project file is saved as entered
ACTUAL: ->
in Include
attribute is transformed into ->
.