Backwards compatibility for IDE

I was wondering if there was a setting to make the auto generated code backwards compatible with older versions of visual studio.  I tried creating a property with notification in 2015 and it put nameof(property).  This isn't compatible with 2010, which is what my company uses....  I hate that we are stuck on 2010, but I can't get around it.  Is there a way to get around this?

1 comment
Comment actions Permalink

Hello Walter,

  You may select C# 5.0 as a Language Level in Project Properties, then ReSharper won't suggest you C#6.0 suggestions/code generations. Please open Solution Explorer, select a project node, hit F4 (a shortcut for Properties), find "C# Language Level" combobox and select C# 5.0.



Please sign in to leave a comment.