How to set code analysis target framework?

For projects that supports multiple frameworks I tend to end up in a situation where Rider's code analysis indicates error and issues in the File Explorer pane but when I open the indicated file there's no further indication. Only when I build the project do I get the actual errors.

Unless memory serves me wrong there used to be a setting on the status bar where I could specify which framework to target for code analysis. Has that been removed and, if so, is there a war to restore it?

2 comments
Comment actions Permalink

They merged it with the "breadcrumb" at the bottom of the code editor. If the current file belongs to a multi-targeted project, then the first part of the breadcrumb that shows the project name will also display the currently targeted framework, and if you click it you can change it.

(It is possible to have this hidden and then you'd have to turn it on somehow.)

0

Please sign in to leave a comment.