带有 CopyToOutputDirectory="PreserveNewest" 的 csproj <Content> 无效

csproj <Content> with CopyToOutputDirectory="PreserveNewest" is invalid

以下来自我的csproj。我收到一条错误消息,指出 "PreserveNewest" 是一个错误的属性值。我不确定在不改变项目行为的情况下需要将其更改为什么。

<ItemGroup>
    <Content Update="nlog.config" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

看起来它可以正常构建,但这是 2019 年 10 月之前的 Rider 版本中智能感知的一个已知问题: https://youtrack.jetbrains.com/issue/RIDER-20183

根据历史记录,它已在 2019.3 EAP1 (193.4778.12) 及更高版本中修复。

撰写本文时可用的最新版本似乎是 2019.3 EAP7。
https://www.jetbrains.com/rider/eap/