Rider keeps updating cache on a file with no index
Hi,
I have a file that is autogenerated in my project and I want to prevent Rider from caching it.
I used the “Tools - Stop index” option from the context menu, and invalidated caches several times, but then after the file is regenerated (almost every build) it still recaches it. This then slows down Riders so I have to wait for the operation to end. Since the file is quite large it can take up a lot of time and having to wait for that almost every build is quite frustrating.

Is there no way to tell Rider to completely ignore this file?
Kind regards
Antun
Please sign in to leave a comment.
Hello Antun,
Thank you for contacting JetBrains Support. I'm glad to work with you on this ticket.
To ignore this file, please go to Settings | Editor | Inspection Settings | Generated Code, and add it in the list.
See Disable code inspections with lower severity levels in generated code for more information.
Let me know if it doesn't work.
Regards,
Tom