c# - 如何将 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时,我不知道要安装什么以及如何安装
解决方案
推荐阅读
- sharepoint - BizTalk“新”SharePoint 适配器发送文档静默失败
- javascript - Effect 调度了一个无效的动作:
- php - 创建帐户并登录后如何将用户重定向到原始网址?
- html - 为什么 CSS 文件不适用于我项目中的 html?
- java - cors 响应的问题(POST 应用程序/json)。400 错误请求
- spring - 无法执行 DataJpaTest
- c++ - 在构造函数中使用关键字“this”时定义复制构造函数
- r - 在 R 中寻找模式
- javascript - 在元素单击时更改图标 unicode
- mysql - Mysql UNION ALL 创建双记录