I have set R# "var" usage set to "Use 'var' when evident" for all options (built-in types, simple types, and elsewhere). It is only configured to be a hint.
If I write a line of code like:
var profile = GetUsersProfile();
R# properly gives me a hint to change var to Profile.
As soon as I do this Visual Studio 2019 gives me an IDE0007 error stating "use 'var' instead of explicit type".
How do I get R# and visual studio on the same page with the use of "var"? I assumed that whatever I set in R# that it would make whatever changes it needed in visual studio to avoid this type of conflict. Is this not the case?
Any help you can provide would be appreciated!