gpt4 book ai didi

asp.net-core - 在 Visual Studio CTP2 的 ASP.VNext 项目中启用 C# 6

转载 作者:行者123 更新时间:2023-12-04 14:27:38 24 4
gpt4 key购买 nike

我已经安装了 Visual Studio CTP2 并创建了一个新的 ASP.Net Vext 项目。当我尝试使用 C# 6.0 功能时,它不起作用。我什至尝试了以下链接中的 stpes。

No C# 6.0 in Visual Studio 2015 CTP?

但即使在此之后,我也无法在 VNext 项目中使用 C# 6。请帮忙。

最佳答案

将此添加到您的 project.json:

“编译选项”:{
"languageVersion": "实验性的"
}

关于asp.net-core - 在 Visual Studio CTP2 的 ASP.VNext 项目中启用 C# 6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25106044/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com