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">

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

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


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 and provide me with the upload ID. 

Looking forward to your reply.


Please sign in to leave a comment.