<分区>
如何在 Visual Studio 中打开 C# 预览 功能?
The feature 'nullable reference types' is currently in Preview and "unsupported". To use Preview features, use the 'preview' language version.
<分区>
如何在 Visual Studio 中打开 C# 预览 功能?
The feature 'nullable reference types' is currently in Preview and "unsupported". To use Preview features, use the 'preview' language version.
最佳答案
为了打开预览功能,您需要所有这些:
> dotnet --list-sdks
2.1.202 [C:\Program Files\dotnet\sdk]
…
2.2.101 [C:\Program Files\dotnet\sdk]
3.0.100-preview6-012264 [C:\Program Files\dotnet\sdk]
关于c# - 在 Visual Studio 中使用预览功能和预览语言,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56639685/