It's strange that if I create a completely new ASP.NET MVC project

admin 阅读:37 2024-02-02 08:39:35 评论:0

  I'm using Visual Studio 17 (version 15.8.5), my project targets .NET Framework 4.8 and I've tried setting the C# version to use (via Build tab in the Properties window) C# 7.3 (that's the maximum version selectable from the dropdown list). However building the project reports a failure like what in the question title. I've even tried and , all those report failure as well.

  Looks like the environment supports the maximum version of 6 (C# 6.0)?大佬们都在玩{ 精选官网网址: www.vip333.Co }值得信任的品牌平台!

  I've tried installed both and but it changed nothing.

  I would like to use the pattern matching feature as the following simple code does:

  UPDATE:

  It's strange that if I create a completely new ASP.NET MVC project

, it just compiles OK with C# 7.3 set. So looks like there is something wrong with just the specific project I'm working on大佬们都在玩{ 精选官网网址: www.vip333.Co }值得信任的品牌平台!. For better diagnosing, I would like to share that project here via this link https://sites.google.com/site/ngaodaantoi/files/WebApiAuth.zip?attredirects=0&d=1大佬们都在玩{ 精选官网网址: www.vip333.Co }值得信任的品牌平台!

  It's recommended that you have VS 2017 to help possibly reproduce the issue.

It's strange that if I create a completely new ASP.NET MVC project

It's strange that if I create a completely new ASP.NET MVC project

本文 zblog模板 原创,转载保留链接!网址:https://www.xgroovyway.com/post/104.html

可以去百度分享获取分享代码输入这里。
声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
搜索
排行榜