How to disable Rider from auto-adding *.cs files to a *.csproj?

My project uses a complex architecture where files inside a project folder might not necessarily be a part of that particular project. They also follow a different naming scheme (suffix before *.cs).

Is there a way I can prevent Rider from auto-adding files to the *.csproj file?

1 comment
Comment actions Permalink

Hello Rohan,

Thank you for contacting Rider support.

Would you mind sharing a screenshot that demonstrates your solution structure?
Thank you in advance and have a nice day!


Please sign in to leave a comment.