问题描述
在使用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的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!