首页 > 解决方案 > 如何将 csc 升级到最新的 roslyn 工具

问题描述

我不使用 Visual Studio,当我在 cmd 中编译 .cs 文件时,即使它说它使用 4.8 版,它也说它只到 C# 版本 5,我如何更新 csc roslyn 工具以便我可以编译用v8?这就是 cmd 所说的

Microsoft (R) Visual C# Compiler version 4.8.3752.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.

This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

当我访问http://go.microsoft.com/fwlink/?LinkID=533240时,我不知道要安装什么以及如何安装

标签: c#roslyn

解决方案


推荐阅读