Enabling c# 7 compilation in Project Rider

你。 提交于 2019-12-10 19:55:08

问题


If I set the LangVersion to 7, I get the following error:

Error:CS1617: Invalid option '7' for /langversion;
must be ISO-1, ISO-2, Default or an integer in range 1 to 6.

I can't install Visual Studio 2017.


回答1:


Unfortunately for now it is not possible on mac/linux, but it is planned - around Q1 2017.

Source: https://rider-support.jetbrains.com/hc/en-us/community/posts/205987804-Rider-and-C-7-



来源:https://stackoverflow.com/questions/42830694/enabling-c-sharp-7-compilation-in-project-rider

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!