Why are Views getting added to .csproj file?

Hi, I upgraded to the latest version and i noticed Rider adds these lines into my csproj file for each View i add. Why is that?

It kind adds up after a while and i feel like it is cluttering up my csproj file. 

<ItemGroup>
<Content Update="Views\Shared\TestView.cshtml">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
2
1 comment

Hello Charles,

Thank you for reporting the issue, it does not look like expected behavior, so I have created a corresponding record on our bug tracker: RIDER-44867, please upvote and watch for monitoring the progress. 

0

Please sign in to leave a comment.