Visual Studio 2019 for Mac 预览版发行说明Visual Studio 2019 for Mac Preview Release Notes
开发人员社区 | 系统要求 | 兼容性 | 可分发代码 | 文档 | 博客 | 维护Developer Community | System Requirements | Compatibility | Distributable Code | Documentation | Blogs | Servicing
获取预览版Get the Preview
重要
更新到预览版通道,获取 Visual Studio 2019 for Mac 预览版。Get the Preview of Visual Studio 2019 for Mac by updating to the Preview channel.
此版本未发布,不适合在生产计算机上使用,也不适合用于创建生产代码。This release is not "go-live" and not intended for use on production computers or for creating production code.
若要详细了解 Visual Studio for Mac,请参阅 Mac 系统要求和 Mac 平台目标和兼容性。To learn more about Visual Studio for Mac, see Mac System Requirements and Mac Platform Targeting and Compatibility.
要详细了解其他相关下载,请参阅下载页。To learn more about other related downloads, see the Downloads page.
8.9 预览版中的新增功能What's New in 8.9 Preview
Visual Studio 2019 for Mac 版本 8.9 预览版Visual Studio 2019 for Mac version 8.9 Preview Releases
- 2020 年 12 月 16 日 - Visual Studio 2019 for Mac 版本 8.9 预览版 2.1December 16, 2020 – Visual Studio 2019 for Mac version 8.9 Preview 2.1
- 2020 年 12 月 8 日 - Visual Studio 2019 for Mac 版本 8.9 预览版 2December 8, 2020 – Visual Studio 2019 for Mac version 8.9 Preview 2
- 2020 年 11 月 10 日 - Visual Studio 2019 for Mac 版本 8.9 预览版 1November 10, 2020 – Visual Studio 2019 for Mac version 8.9 Preview 1
版本主要变化Release Highlights
- Visual Studio for Mac 8.9 预览版 1 引入了一个新的本机 XML 编辑器。Visual Studio for Mac 8.9 Preview 1 introduces a new native XML editor.
- Visual Studio for Mac 8.9 预览版 2 现在使用即时窗口中的本机编辑器。Visual Studio for Mac 8.9 Preview 2 now uses the native editor inside the Immediate window.
- Visual Studio for Mac 8.9 预览版 2 引入了对解决方案筛选器 (*.slnf) 文件的支持。Visual Studio for Mac 8.9 Preview 2 introduces support for Solution Filter (*.slnf) files.
- Visual Studio for Mac 8.9 预览版 2 引入了一个使用本机编辑器的新 Git Blame 视图。Visual Studio for Mac 8.9 Preview 2 introduces a new Git Blame view using the native editor.
- Visual Studio for Mac 8.9 预览版 2 新增快速操作和重构体验作为预览功能(可通过“首选项”>“其他”>“预览功能”来启用预览功能)。Visual Studio for Mac 8.9 Preview 2 adds a new Quick Actions and Refactoring experience as a preview feature (Preview features can be enabled in Preferences > Other > Preview Features).
- Visual Studio for Mac 8.9 预览版 2 添加了一项预览功能,该功能支持按类型、模块和函数位置筛选第一次异常(可通过“首选项”>“其他”>“预览功能”来启用预览功能)。Visual Studio for Mac 8.9 Preview 2 adds support for filtering first chance exceptions by type, module, and function location as a preview feature (Preview features can be enabled in Preferences > Other > Preview Features).
- Visual Studio for Mac 8.9 预览版 2 或更新版本现已默认启用完全辅助功能支持。Visual Studio for Mac 8.9 Preview 2 or newer has full accessibility support enabled by default.
已知问题Known Issues
请参阅已知问题部分。Refer to the Known Issues section.
反馈和建议Feedback & Suggestions
我们期待你的宝贵意见和建议!We would love to hear from you! 可通过 Visual Studio for Mac IDE 中的报告问题选项报告问题。You can report a problem through the Report a Problem option in Visual Studio for Mac IDE. 可在开发人员社区门户中跟踪自己的反馈,包括建议。You can track your feedback, including suggestions, in the Developer Community portal.
发行说明Release Notes
Visual Studio 2019 for Mac 版本 8.9 预览版 2.1 (8.9.0.964)Visual Studio 2019 for Mac version 8.9 Preview 2.1 (8.9.0.964)
发布时间:2020 年 12 月 16 日released December 16, 2020
常规General
- 修复了严重的故障报告问题。We fixed a critical crash reporting issue.
- 修复了多个可靠性和性能问题。We fixed several issues with reliability and performance.
调试器Debugger
- 修复了使用 .NET Core 时捕获点无法正常运行的问题。We fixed an issue where catchpoints didn't work with .NET Core.
- 修复了使用 XCode 12 时调试无法正常运行的问题。We fixed an issue where Debugging was not working with XCode 12.
Web 和 AzureWeb and Azure
- 修复了无法在本地调试 Azure Functions 的问题。We fixed an issue with debugging Azure Functions locally.
- 已将 .NET Core SDK 更新到 5.0.101。We updated .NET Core SDK to 5.0.101.
Visual Studio 2019 for Mac 版本 8.9 预览版 2 (8.9.0.947)Visual Studio 2019 for Mac version 8.9 Preview 2 (8.9.0.947)
发布时间:2020 年 12 月 8 日released December 8, 2020
调试器Debugger
- 修复了在监视工具窗口中选择多个监视时阻止操作的问题。We fixed an issue blocking operations when multiple watches are selected in the watch tool window.
- 修复了导致在监视工具窗口中复制或粘贴错误值的几个问题。We fixed several issues causing the wrong value to be copied or pasted within the watch tool window.
- 修复了调试时无法重命名监视的问题。We fixed an issue where it was not possible to rename a watch while debugging.
- 修复了不能使用“运行”>“调试应用程序”调试 32 位程序集的问题。We fixed an issue where it was not possible to debug 32 bit assemblies using Run > Debug Application.
- 修复了异常窗口出现在桌面之外的问题。We fixed an issue where the Exception window appears outside of the desktop.
- 修复了一个问题:“设置下一语句”命令失败并出现取决于编辑器插入点位置的错误。We fixed an issue where the Set Next Statement command failed with an error depending on where the editor caret was placed.
安装程序Installer
- 修复了下载 .NET Core 包失败的问题。We fixed an issue where downloading the .NET Core package failed.
Shell 和工具Shell and Tools
- 提高了“在文件中查找”功能的速度。We increased the speed of the find in files functionality.
- 修复了一个问题:在 Big Sur 系统中,在全屏幕模式下,关闭 VS for Mac 后加载解决方案失败。We fixed an issue where loading a solution failed after closing VS for Mac in full screen mode on Big Sur.
- 修复了欢迎屏幕的“关闭”按钮在 macOS Big Sur 上不可见的问题。We fixed an issue where the Welcome screen close button was invisible on macOS Big Sur.
- 修复了在按下 option 键时无法在终端工具窗口中键入特殊字符的问题。We fixed an issue where it was not possible to type special characters in the terminal tool window while pressing the option key.
- 修复了在单击状态栏中的错误时显示生成输出,而显示错误窗口的问题。We fixed an issue where the build output was shown instead of the error window when clicking on an error inside the status bar.
- 解决了鼠标放在 macOS Big Sur 上时无法单击警报的问题。We fixed an issue where alerts were not clickable with the mouse on macOS Big Sur.
- 修复了“错误”工具窗口不记得工具栏按钮设置的问题。We fixed an issue where the Errors tool window didn't remember toolbar button settings.
源代码编辑Source Code Editing
- 修复了“查找脱字号”命令的自定义键绑定在新编辑器中无法使用的问题。We fixed an issue where a custom key binding for the Find Caret command was not working in the new editor.
- 修复了与 GB18030 编码支持有关的各种问题。We fixed various issues with GB18030 encoding support.
- 修复了以下问题:查找引用不起作用。We fixed an issue where Find References is not working.
- 修复了重命名功能无法正常使用的问题。We fixed an issue with the Rename functionality not working correctly.
- 解决了 YAML 支持方面的问题。We fixed an issue with YAML support.
测试工具Test Tools
- 解决了从上下文菜单运行单元测试比从“单元测试”板运行相比要慢得多的这一问题。We fixed an issue where Running unit tests from the context menu was way slower than from the Unit Tests pad.
版本控制Version Control
- 解决了在未安装 Git 的情况下复制文件后显示错误的问题。We fixed an issue where an error was shown after copying a file if Git was not installed.
- 解决了在新添加的文件夹下删除新文件会一并删除空文件夹的问题。We fixed an issue where deleting a new file under a newly added folder deleted the empty folder as well.
Web 和 AzureWeb and Azure
- 解决了在删除 OpenAPI 服务后 IntelliSense 显示 OpenAPI 客户端的这一问题。We fixed an issue where IntelliSense shows the OpenAPI client after the OpenAPI service was removed.
- 修复了在调试应用时生成错误的 ASPNETCORE_URLS 环境变量的问题。We fixed an issue where incorrect ASPNETCORE_URLS environment variable was generated when debugging apps.
- 修复了无法从一些自定义模板中正确加载动态参数的问题。We fixed several issues where dynamic parameters were not loaded correctly from some custom templates.
- 修复了一个问题:如果项目路径包含空格,则加载 Blazor Web 程序集项目失败。We fixed an issue where loading Blazor Web Assembly projects failed if the project path contained spaces.
- 修复了将 ASP.NET Core 5.0 项目发布到 Azure 失败,出现“HTTP 错误 500.31 - ANCM 找不到本机依赖项”错误的问题。We fixed an issue where publishing ASP.NET Core 5.0 projects to Azure failed with an "HTTP Error 500.31 - ANCM Failed to Find Native Dependencies" error.
- 已将 .NET Core 更新到 5.0.100 和 3.1.404。We updated .NET Core to 5.0.100 and 3.1.404.
XamarinXamarin
- 添加了对 Xcode 12.2 的支持。We added support for Xcode 12.2.
Visual Studio 2019 for Mac 版本 8.9 预览版 1 (8.9.0.265) Visual Studio 2019 for Mac version 8.9 Preview 1 (8.9.0.265)
发布时间:2020 年 11 月 10 日released November 10, 2020
项目系统Project System
- 修复了以下问题:在 Windows 的 VS 2017 上添加的新项目配置无法在 VS for Mac 上正确加载。We fixed an issue where a new project configuration added on VS 2017 on Windows does not load properly on VS for Mac.
- 修复了在某些情况下可能导致解决方案树空白的问题。We fixed an issue that could cause the solution tree to be blank under certain conditions.
Shell 和工具Shell and Tools
- 修复了以下问题:从项目中排除资源后保存失败。We fixed an issue where saving failed after excluding resources from a project.
- 修复了以下潜在的辅助功能问题:深色模式下集成终端的选择颜色的颜色对比度太低。We fixed a potential accessibility issue where the color contrast of the integrated terminal's selection color in dark mode is too low.
源代码编辑Source Code Editing
- 修复了以下问题:F# 4.6 语言功能在 VS for Mac(稳定版或预览版)上不起作用。We fixed an issue where F# 4.6 language features don't work on VS for Mac (Stable or Preview).
- 修复了以下问题:F# 中的 member _.method 无法正确识别。We fixed an issue where member _.method in F # was not recognized correctly.
- 修复了新的 F# Web 项目的构建问题。We fixed build issues with new F# Web projects.
- 修复了以下问题:查找引用不起作用。We fixed an issue where Find References is not working.
- 修复了重命名功能无法正常使用的问题。We fixed an issue with the Rename functionality not working correctly.
- 修复了以下问题:扩展方法导航搜索操作无限期运行。We fixed an issue where Extension Methods navigation search operation was running indefinitely.
- 修复了缺少对 FSharp.Core 4.7 的支持的问题。We fixed an issue with missing support for FSharp.Core 4.7.
- 修复了与 GB18030 编码支持有关的各种问题。We fixed various issues with GB18030 encoding support.
版本控制Version Control
- 修复了以下问题:切换分支停滞在“更新版本控制存储库”。We fixed an issue where switching branches got stuck at "Updating version control repository".
- 修复了以下问题:Visual Studio Mac 无法识别该代码的最新更新。We fixed an issue where Visual Studio Mac won't recognize the latest updates to the code.
XamarinXamarin
- 添加了对 Xcode 12.1 的支持。We added support for Xcode 12.1.
已知问题Known Issues
下面列出了 Visual Studio 2019 for Mac 版本 8.9 中存在的所有已知问题:The following is a list of all existing known issues in Visual Studio 2019 for Mac version 8.9:
- 安装最新的 .NET 5 SDK 后,.NET Core 3.1 应用的开发人员可能会看到一个错误,它指出“ASP.NET Core 开发人员证书的状态无效”。After installing the latest .NET 5 SDK, developers of .NET Core 3.1 apps might see an error indicating "The ASP.NET Core developer certificate is in an invalid state.". 要解决此问题,可从终端运行
dotnet dev-certs https --clean
,然后运行dotnet dev-certs https --trust
。Runningdotnet dev-certs https --clean
thendotnet dev-certs https --trust
from the Terminal will fix the issue. - 在极少数情况下,除了 .NET Core 3.1.300 SDK,任何内容都可能是最新的。In rare cases, it's possible to be up to date with everything but the .NET Core 3.1.300 SDK. 如果进入此配置,并使用更新程序更新到 .NET Core 3.1.300,则在重新启动 IDE 之前,更新 .NET Core SDK 的通知将不会消失。If you enter into this configuration and update to .NET Core 3.1.300 using the updater, the notification to update the .NET Core SDK will not disappear until the IDE is restarted.
- 如果你已在使用 Big Sur beta 版本且无法使用更新程序,请访问 Visual Studio for Mac 网站并下载安装程序。If you're already on Big Sur beta and can't use the updater, visit the Visual Studio for Mac website and download the installer.
- 在 Big Sur 上,gRPC 可能生成失败并出现错误
protoc" exited with code 255
。On Big Sur gRPC projects may fail to build with an errorprotoc" exited with code 255
. 这是项目模板中默认使用的 gRPC.Tools NuGet 包中的 macOS 平台检测问题。This is a problem with macOS platform detection in the gRPC.Tools NuGet package that is used by default in the project templates. 规避方法是将 gRPC.Tools NuGet 包更新到版本 2.34.0 或更高版本。A workaround is to update the gRPC.Tools NuGet package to version 2.34.0 or later.