Adding ts files to wwwroot adds Content tag to csproj

Almost every time I'm adding a file (mostly .ts), Rider adds a <Content> tag like this for the .csproj file:

<Content Update="wwwroot\src\features\secondary-navigation\secondary-navigation.tsx">
  <Watch>false</Watch>
</Content>

How I can I avoid this because I already have a <Content> tag like this one in the .csproj file:

<ItemGroup>
    <Content Update="wwwroot/**/*.*" Watch="false" />
</ItemGroup>

 

0
1 comment

Hello Alexander Zeitler ,

Thank you for reaching Rider Forum.

I was not able to reproduce the issue. Could you please provide me with your .csproj file? Please upload it to https://uploads.jetbrains.com/ and provide me with the upload ID. 

Looking forward to your reply.

0

Please sign in to leave a comment.