禁用ReSharper的C#6.0的支持 [英] Disable C# 6.0 Support in ReSharper

查看:617
本文介绍了禁用ReSharper的C#6.0的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用ReSharper的,它建议启用该项目C#6.0的支持。我傻傻点击它,现在它作为标榜它给我的C#6.0的建议 - 因为我不是在这个项目中使用C#6.0,然后给我的错误

While using ReSharper, it suggested "Enable C# 6.0 support for this project". I foolishly clicked on it, and now as advertised it's giving me suggestions for C# 6.0 - which then give me errors as I am not using C# 6.0 in this project.

我如何禁用C#6.0的支持,将其返回到以前的样子? (preferably无需逐个忽略具体的建议)

How can I disable C# 6.0 support, returning it to how it was before? (Preferably without having to individually ignore specific suggestions)

推荐答案

点击在Solution Explorer中的项目节点。然后看在属性网格(F4)。你会看到一个名为C#语言级别属性。其设置为默认或您需要的语言水平。

Click the project node in the Solution Explorer. Then look in the Property Grid (F4). You'll see a property named "C# Language Level". Set that to "Default" or your desired language level.

这篇关于禁用ReSharper的C#6.0的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆