.net core 带有CopyToOutputDirectory=“PreserveNewst”的csproj无效

.net core 带有CopyToOutputDirectory=“PreserveNewst”的csproj无效,.net-core,csproj,.net Core,Csproj,以下是我的csproj。我得到一个错误,它是一个错误的属性值。我不确定在不改变项目行为的情况下,我需要将其更改为什么 <ItemGroup> <Content Update="nlog.config" CopyToOutputDirectory="PreserveNewest" /> </ItemGroup> 看起来它可以很好地构建,但在2019年10月之前的Rider版本中,intellisense是一个已知的问题: 根据历史,它固定在2019.

以下是我的csproj。我得到一个错误,它是一个错误的属性值。我不确定在不改变项目行为的情况下,我需要将其更改为什么

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

看起来它可以很好地构建,但在2019年10月之前的Rider版本中,intellisense是一个已知的问题:

根据历史,它固定在2019.3 EAP1 193.4778.12及以上

撰写本文时提供的最新版本似乎是2019.3 EAP7。