I have a project that builds fine in VS2022, giving a set of warnings about a specific code analysis issue (CA1815). In Rider, the same project cannot be built, showing the same set of issues as errors. When I right click on an error, it only gives me the options to Jump to Source or copy. If I go to source, I don't get the error/warning in the Context Actions, so there's no way to change the severity level.
I've searched the settings and cannot find either the specific issues or any general setting for treating warnings as errors. Short of solving the issues, is there any way to disable treating these warnings as errors and failing the build? I'm often dealing with legacy code that I do not control and cannot change, so treating these issues as build failures is a show stopper.
Any help would be appreciated!