解决办法:
在工程.csproj文件中的<PropertyGroup>节加入<LangVersion>preview</LangVersion>即可。也可以指定具体的版本。
posted on 2023-08-23 15:48 马什么梅 阅读(1282) 评论(0) 收藏 举报