Visual Studio Icon Visual Studio 2019 for Mac 8.7 版的版本資訊Visual Studio 2019 for Mac version 8.7 Release Notes



開發人員社群 | 系統需求 | 相容性 | 可散發的程式碼 | 文件 | 部落格 | 服務Developer Community | System Requirements | Compatibility | Distributable Code | Documentation | Blogs | Servicing


按一下這個按鈕以下載最新版的 Visual Studio 2019 for Mac。Click the button to download the latest version of Visual Studio 2019 for Mac. 如需系統需求的資訊,請參閱 Mac 系統需求Mac 平台目標及相容性指南。For information on the system requirements see the see Mac System Requirements and Mac Platform Targeting and Compatibility guides.

如需安裝和更新 Visual Studio 2019 for Mac 的指示,請參閱安裝 Visual Studio for Mac 指南For instructions on installing and updating Visual Studio 2019 for Mac, see the Install Visual Studio for Mac guide.

Download VS for Mac

若要深入了解其他相關下載,請參閱下載頁面To learn more about other related downloads, see the Downloads page.


Visual Studio 2019 for Mac 的新功能What's New in Visual Studio 2019 for Mac

Visual Studio 2019 for Mac 版本Visual Studio 2019 for Mac Releases

Visual Studio 2019 for Mac 部落格文章Visual Studio 2019 for Mac Blog Posts

Visual Studio 部落格 是 Visual Studio 工程小組提供產品見解的官方來源。The Visual Studio Blog is the official source of product insight from the Visual Studio Engineering Team. 您可以在下列文章中找到有關 Visual Studio 2019 for Mac 版本的深入資訊:You can find in-depth information about the Visual Studio 2019 for Mac releases in the following posts:


版本焦點內容Release Highlights

  • 新增了將新 Open API 與 gRPC 服務參考新增至 .NET Core 專案的支援。We added support for adding new Open API & gRPC service references to .NET Core projects.
  • 我們已新增以滑鼠右鍵按一下來執行單元測試的支援。We added support for right-clicking to run unit tests.
  • Visual Studio Tools for Unity 包含三個新的診斷,且當 Unity 重新產生解決方案和專案時,可支援持續性解決方案資料夾。The Visual Studio Tools for Unity includes three new diagnostics and support for persistent solution folders when Unity is regenerating solution and projects.
  • 我們解決了在整個 IDE 中大量的現有錯誤,以及使用者回報的問題。We resolved a significant number of existing bugs and user-reported issues throughout the IDE. 請使用開發人員社群入口網站繼續與我們分享您的意見反應。Please continue to share your feedback with us using the Developer Community portal.
  • Visual Studio for Mac 8.7 支援在 macOS Big Sur 開發人員預覽版上執行。Visual Studio for Mac 8.7 supports running on the macOS Big Sur developer preview. 如果您已在 Big Sur 上但無法使用更新程式,請前往 Visual Studio for Mac 網站,並下載安裝程式。If you're already on Big Sur and can't use the updater, visit the Visual Studio for Mac website and download the installer.

已知問題Known Issues

請參閱已知問題一節。Refer to the Known Issues section.


意見反應與建議Feedback and 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

Release Notes IconVisual Studio 2019 for Mac 8.7.9 版 (8.7.9.9)Visual Studio 2019 for Mac version 8.7.9 (8.7.9.9)

發行於 2020 年 10 月 27 日released October 27, 2020

Web 和 AzureWeb and Azure

  • 我們已將 .NET Core 更新至 3.1.403 與 2.1.811。We updated .NET Core to 3.1.403 and 2.1.811.

XamarinXamarin

  • 新增了 Xcode 12.1 的支援。We added support for Xcode 12.1.

Release Notes IconVisual Studio 2019 for Mac 8.7.8 版 (8.7.8.4)Visual Studio 2019 for Mac version 8.7.8 (8.7.8.4)

2020 年 9 月 21 日發行released September 21, 2020

XamarinXamarin

  • 我們已新增 Xcode 12 的支援,而且已更新 Xamarin SDK (英文)。We added support for Xcode 12 and updated the Xamarin SDKs.
  • 我們已新增在 Info.plist 編輯器中將某個色彩集設定為輔色的支援。We added support for setting a Color set as Accent Color in the Info.plist editor.

Release Notes Icon Visual Studio 2019 for Mac 8.7.7 版 (8.7.7.10)Visual Studio 2019 for Mac version 8.7.7 (8.7.7.10)

2020 年 9 月 15 日發行released September 15, 2020

IDE 平台IDE Platform

專案系統Project System

Web 和 AzureWeb and Azure

  • 已修正 ASP.NET Core 2.1 Web 應用程式 Scaffolding 失敗的問題。We fixed an issue where Scaffolding failed for ASP.NET Core 2.1 Web Applications.

Release Notes Icon Visual Studio 2019 for Mac 8.7.6 版 (8.7.6.2)Visual Studio 2019 for Mac version 8.7.6 (8.7.6.2)

2020 年 9 月 8 日發行released September 08, 2020

Web 和 AzureWeb and Azure

  • 更新了 .NET Core SDK (3.1.402 SDK 與 2.1.22 執行階段)。We updated the .NET Core SDK (3.1.402 SDK and 2.1.22 runtime).

Release Notes Icon Visual Studio 2019 for Mac 8.7.5 版 (8.7.5.19)Visual Studio 2019 for Mac version 8.7.5 (8.7.5.19)

2020 年 9 月 8 日發行released September 08, 2020

專案系統Project System

殼層與工具Shell and Tools

  • 我們已改善效能與可靠性。We improved performance and reliability.

Web 和 AzureWeb and Azure

  • 我們已修正建立新的 Azure Functions 專案時,缺少初始範本的問題。We fixed an issue where initial templates were missing when creating a new Azure Functions project.

XamarinXamarin

Release Notes Icon Visual Studio 2019 for Mac 8.7.4 版 (8.7.4.38)Visual Studio 2019 for Mac version 8.7.4 (8.7.4.38)

2020 年 8 月 25 日發行released August 25, 2020

殼層與工具Shell and Tools

  • 修正了在 [回報問題] 對話方塊中焦點順序邏輯不正確的問題。We fixed an issue causing illogical focus order in the Report a Problem dialog.
  • 修正了導致 VoiceOver 和螢幕閱讀程式無法啟動 [管理 NuGet 套件] 對話方塊中連結的問題。We fixed an issue preventing VoiceOver and screen readers from being able to activate links in the Manage NuGet Packages dialog.
  • 修正了大型解決方案無法在已安裝舊版 .NET Core SDK 中進行還原的問題。We fixed an issue where large solutions would fail to restore with older .NET Core SDKs installed.
  • 新增了在 [帳戶] 對話方塊中所選帳戶的色彩對比。We increased the color contrast of the selected account in the account dialog.

Web 和 AzureWeb and Azure

  • 修正了新增至 launchSettings.json 的新啟動設定檔未顯示在 [專案選項] 對話方塊中此問題。We fixed an issue where a new launch profile added to launchSettings.json was not shown in the project options dialog.
  • 修正了在 [專案選項] 對話方塊中取消變更時,無法復原執行組態變更的問題。We fixed an issue where cancelling changes in the project options dialog would not undo run configuration changes.
  • 修正了 [OpenAPI/gRPC 組態] 對話方塊不是強制回應對話方塊的問題。We fixed an issue where the OpenAPI / gRPC configuration dialogs were not modal.
  • 修正了在新增參考之後,[OpenAPI 服務參考] 對話方塊會重新開啟的問題。We fixed an issue where the OpenAPI service reference dialog would re-open after the reference was added.
  • 修正了儘管已在執行組態設定中加以設定,ASP.NET Core 專案仍無法在整合式終端機中執行的問題。We fixed an issue preventing ASP.NET Core projects from running in the integrated terminal despite being set to do so in the run configuration settings.
  • 修正了預設執行組態在主要工具列中顯示了兩次專案名稱的問題。We fixed an issue where the default run configuration shows the project name twice in main toolbar.

XamarinXamarin

  • 改善了整體穩定性We improved overall stability

Release Notes Icon Visual Studio 2019 for Mac 8.7.3 版 (8.7.3.13)Visual Studio 2019 for Mac version 8.7.3 (8.7.3.13)

2020 年 8 月 18 日發行released August 18, 2020

殼層與工具Shell and Tools

  • 已修正在變更 Solution Pad 中的屬性之後,Properties Pad 未正確隨之更新的問題。We fixed an issue where the properties pad was not updated correctly after changing properties in the solution pad.
  • 已修正使用 VS Code 開啟應以十六進位編輯器開啟的檔案,而不是使用十六進位編輯器開啟檔案的問題。We fixed an issue where open with hex editor opens file with VS Code and not in the hex editor.

XamarinXamarin

  • 改善了整體穩定性We improved overall stability
  • 已修正使用 Xamarin.Android SDK 11.0.0.3 偵錯 Android 應用程式的問題We fixed an issue with debugging an Android app with Xamarin.Android SDK 11.0.0.3

Release Notes Icon Visual Studio 2019 for Mac 8.7.2 版 (8.7.2.4)Visual Studio 2019 for Mac version 8.7.2 (8.7.2.4)

2020 年 8 月 13 日發行released August 13, 2020

Web 和 AzureWeb and Azure

  • 更新了 .NET Core SDK (3.1.401 SDK 與 2.1.21 執行階段)。We updated the .NET Core SDK (3.1.401 SDK and 2.1.21 runtime).

Release Notes Icon Visual Studio 2019 for Mac 8.7.1 版 (8.7.1.15)Visual Studio 2019 for Mac version 8.7.1 (8.7.1.15)

發行於 2020 年 8 月 11 日released August 11, 2020

8.7.1 中的 Bug 修正Bug Fixes in 8.7.1

殼層與工具Shell and Tools

  • 修正了 .NET Core 3.1.400 中不正確相依性資料夾資訊的問題。We fixed an issue with incorrect dependency folder information with .NET Core 3.1.400.
  • 修正了 [屬性] 對話方塊中數個 UI 項目沒有 VoiceOver 使用者名稱的問題。We fixed an issue where several UI elements in the properties dialog do not have names for VoiceOver users.

UnityUnity

版本控制Version Control

  • 修正了在使用 Git 時可能會導致 doesn't point at a valid Git repository or workdir. 錯誤訊息的問題。We fixed an issue that could result in a doesn't point at a valid Git repository or workdir. error message when working with Git.

XamarinXamarin

  • 修正了 macOS Big Sur 上的 Xamarin 開發人員無法編譯和執行其專案的問題。We fixed an issue preventing Xamarin developers on macOS Big Sur from compiling and running their projects.

Release Notes Icon Visual Studio 2019 for Mac 8.7 版 (8.7.0.2037)Visual Studio 2019 for Mac version 8.7 (8.7.0.2037)

發行於 2020 年 8 月 5 日released August 5, 2020

注意

此版本的 Visual Studio for Mac 目前支援在 macOS Big Sur 開發人員搶鮮版 (Beta) 組建上執行。This release of Visual Studio for Mac now supports running on the macOS Big Sur developer beta builds. 如果您已在 Big Sur 上但無法使用更新程式,請前往 Visual Studio for Mac 網站,並下載安裝程式。If you're already on Big Sur and can't use the updater, visit the Visual Studio for Mac website and download the installer.

新功能New Features

Open API 與 gRPC 用戶端產生Open API and gRPC Client Generation

Visual Studio for Mac 現在包含從 OpenAPI 或 gRPC 服務產生 API 用戶端的支援。Visual Studio for Mac now includes support for generating an API client from an OpenAPI or gRPC service. 這包括從本機檔案或 URL 產生用戶端、管理服務參考,以及在服務變更時重新產生用戶端程式碼的功能。This includes the ability to generate the client from a local file or URL, manage service references, and regenerate the client code if the service changes.

若要加入新增參考到 OpenAPI 或 gRPC 服務,請以滑鼠右鍵按一下 [解決方案] 面板中的 [已連線的服務] 節點,然後選取 [開啟服務資源庫]。To add add a new reference to an OpenAPI or gRPC service, right-click on the Connected Services node in the Solution pad and select Open Service Gallery.

Opening the Connected Service Gallery in Visual Studio for Mac
開啟 Visual Studio for Mac 中已連線的服務資源庫Opening the Connected Service Gallery in Visual Studio for Mac

開啟 [已連線的服務資源庫] 後,您可選擇新增 OpenAPI 或 gRPC 參考。After opening the Connected Services Gallery, you have the option to add either an OpenAPI or gRPC reference.

The Connected Service Gallery in Visual Studio for Mac
Visual Studio for Mac 中已連線的服務資源庫The Connected Service Gallery in Visual Studio for Mac

按一下其中一個選項會啟動提示,讓您可以透過檔案路徑或 URL 輸入服務參考。Clicking on either of the options launches a prompt which allows you to enter the service reference, either by file path or URL.

產生 gRPC 用戶端時,您也可以選取是否要產生下列用戶端類別類型:When generating a gRPC client, you can also select whether to generate the following client class types:

  • 用戶端Client
  • 伺服器Server
  • 用戶端與伺服器Client and Server
  • 僅限訊息 (用於根據訊息屬性產生強型別類別,沒有產生的伺服器或用戶端程式碼)Messages Only (used to generate strongly typed classes based on message properties, with no generated server or client code)

產生 OpenAPI 用戶端時,您可以指定傳遞至程式碼產生器的命名空間與其他選項When generating an OpenAPI client, you can specify the namespace and additional options which are passed through to the code generator.

程式碼產生是以 dotnet-grpc (部分機器翻譯) 與 dotnet-openapi (部分機器翻譯) 命令列工具為基礎。Code generation is based on the dotnet-grpc and dotnet-openapi command-line tools.

產生服務參考之後,您可以在 [已連線的服務資源庫] 中檢視並加以修改,如下所示。After generating a service reference, you can view and modify it in the Connected Services Gallery as shown below.

Viewing previously added services in the Connected Service Gallery in Visual Studio for Mac
在 Visual Studio for Mac 中已連線的服務資源庫,檢視先前新增的服務Viewing previously added services in the Connected Service Gallery in Visual Studio for Mac

如需使用產生的 OpenAPI 用戶端詳細資訊,請參閱開始使用 NSwag 教學課程。For more information on using a generated OpenAPI client, see the Getting Started with NSwag tutorial.

如需使用產生的 gRPC 用戶端詳細資訊,請參閱在 ASP.NET Core 中建立 gRPC 用戶端與伺服器教學課程。For more information on using a generated gRPC client, see the Create a gRPC client and server in ASP.NET Core tutorial.

以滑鼠右鍵按一下來執行單元測試Right-Click to Run Unit Tests

當編輯 C# 包含單元測試的類別時,開發人員現在可以在測試類別或方法的主體內按一下滑鼠右鍵,以存取執行及偵錯的選項。When editing C# classes containing unit tests, developers can now right-click within the body of a test class or method to access options for running and debugging tests.

Context menu in the Visual Studio for Mac editor
編輯器操作功能表中執行及偵錯測試的新項目The new entries for Run and Debug Tests in the editor context menu

除了在編輯器中以滑鼠右鍵按一下,這些新命令也可以使用鍵盤快速鍵來執行。In addition to right-clicking in the editor, these new commands can be run using keboard shortcuts. 如果您使用 Visual Studio for Mac 的按鍵繫結關係,則命令如下所示:If you're using the Visual Studio for Mac key bindings, the commands are as follows:

  • 執行測試:⌘TRun Test(s): ⌘T
  • 偵錯測試:⌘⌥TDebug Tests(s): ⌘⌥T

如需有關如何變更鍵盤快速鍵的詳細資訊,請參閱 Visual Studio for Mac 中的預設鍵盤快速鍵 (部分機器翻譯)。如需此新單元測試功能的更深入資訊,請參閱 Visual Studio 部落格 (英文)。See Default keyboard shortcuts in Visual Studio for Mac for more information on changing your keyboard shortcuts and The Visual Studio Blog for more in-depth information on this new unit test feature.

Visual Studio Tools for UnityVisual Studio Tools for Unity

  • 我們已新增支援,當 Unity 重新產生方案和專案時,即可使用持續性解決方案資料夾。We added support to persist solution folders when Unity is regenerating solution and projects.
  • 我們已新增下列診斷:We added the following diagnostics:
    • UNT0015:偵測包含 InitializeOnLoadMethodRuntimeInitializeOnLoadMethod 屬性的不正確方法特徵標記。UNT0015: Detect incorrect method signature with InitializeOnLoadMethod or RuntimeInitializeOnLoadMethod attribute.
    • UNT0016:使用所包含第一個引數是字串常值的 InvokeInvokeRepeatingStartCoroutineStopCoroutine,不是型別安全的。UNT0016: Using Invoke, InvokeRepeating, StartCoroutine or StopCoroutine with a first argument being a string literal is not type safe.
    • UNT0017 (英文):SetPixels 引動緩慢。UNT0017: SetPixels invocation is slow.

Bug 修正Bug Fixes

偵錯工具Debugger

  • 我們修正了偵錯工具步驟作業導致 Visual Studio for Mac 停止回應的問題。We fixed an issue where Debugger step operations cause Visual Studio to hang.
  • 我們已引進新邏輯來計算偵錯工具邊框間距中的項目寬度和位置。We introduced new logic for calculating width and placement of items in debugger pads.
  • 我們已修正除非準確地在文字上按一下,否則無法讓名稱/值儲存格進入編輯模式的問題。We fixed an issue that prevented name/value cells from going into edit mode unless clicking exactly on text.
  • 我們已增加擴充工具提示的速度We increased the speed of expanding tooltips
  • 我們已修正當使用者按一下編輯器邊界中的空白行時,會在中斷點邊框間距中建立中斷點的問題。We fixed an issue that created breakpoints in the breakpoint pad when users clicked an empty line in the editor margin.
  • 我們已修正防止使用者關閉損毀訊息 (英文) 的問題。We fixed an issue that prevented users from dismissing crash messages.
  • 我們已修正工具提示行為使其難以工作 (英文) 的問題。We fixed an issue where tooltip behaviour makes it difficult to work.
  • 我們已修正可能會在逐步執行時造成 UI 停止回應的問題。We fixed an issue that may have caused UI hang while stepping.
  • 我們已修正偵錯結束後例外狀況頁面仍然存在 (英文) 的問題。We fixed an issue where Exception page stays after debugging ends.
  • 我們已修正當加入或移除程式碼時,中斷點邊框間距可能會與文字編輯器顯示中的行號不同步的問題。We fixed an issue where the breakpoint pad could become out of sync with line numbers in the text editor display when adding or removing lines of code.
  • 我們已修正可能導致偵錯工具在錯誤的陳述式上中斷的問題。We fixed an issue that may cause the debugger to break on the wrong statement.
  • 我們已修正有時導致工具提示在偵錯完成後仍然可見的問題。We fixed an issue that sometimes caused tooltips to remain visible after finishing debugging.
  • 我們已修正工具提示可能會顯示非陣列物件之陣列長度的問題。We fixed an issue where the tooltip may display an array length for a non-array object.
  • 我們已修正導致 StackTracePad.UpdateAsync Null 參考錯誤寫入記錄的問題。We fixed an issue that caused a StackTracePad.UpdateAsync null reference error to be written to the logs.
  • 我們已修正在工具提示值中造成錯誤新行的問題。We fixed an issue that caused erroneous newlines in tooltip values.

專案系統Project System

測試Testing

殼層與工具Shell and Tools

原始程式碼編輯Source Code Editing

Tools for UnityTools for Unity

  • 我們已修正如果在進行偵錯時設定中斷點,將不會叫用中斷點 (英文) 的錯誤 (Bug)。We fixed a bug where breakpoints would not be hit if they were set while already debugging.
  • 我們已修正檢查列舉值是否相等不會傳回正確結果 (監看式、立即、條件中斷點) 的問題。We fixed an issue where checking equality of Enum values didn't return the correct result (Watches, Immediate, Conditonal Breakpoints).
  • 我們已使用下列規則來修正 USP0004 (英文)、USP0006 (英文) 和 USP0007 抑制器:針對所有以 SerializeField 屬性裝飾的欄位,抑制 IDE0044 (唯讀)、IDE0051 (未使用)、CS0649 (從未指派)。We fixed USP0004, USP0006 and USP0007 suppressors with the following rules: suppress IDE0044 (readonly), IDE0051 (unused), CS0649 (never assigned) for all fields decorated with SerializeField attribute. 針對擴充 CS0649 的所有類型公用欄位抑制 Unity.Object (從未指派)。Suppress CS0649 (never assigned) for public fields of all types extending Unity.Object.
  • 我們已針對 UNT0014 (英文) 修正泛型型別參數檢查。We fixed generic type parameter checking for UNT0014.
  • 我們已修正在 [Add Unity Messages] (新增 Unity Message) 對話方塊中搜尋後,導致已選取的 Unity 訊息遭取消核取的問題。We fixed an issue that caused selected Unity Messages to be unchecked after searching in the Add Unity Messages dialog.

版本控制Version Control

  • 修正了版本控制索引標籤未顯示的問題。We fixed an issue with version control tabs not showing up.
  • 修正了使用 SSH 進行複製失敗並顯示錯誤的問題。We fixed an issue where cloning using SSH failed with an error.
  • 我們修正了刪除 git 資料夾時版本控制系統中斷的問題。We fixed an issue where the version control system breaks when the .git folder is deleted.
  • 我們修正了在 VS Comm 中無法透過 SSH 存取遠端存放庫的問題。We fixed an issue where it was not possible to access remote repos over SSH in VS Comm.
  • 修正了使用版本控制會造成停止回應的問題。We fixed an issue causing a hang when using version control.
  • 修正了以下問題:當遠端包含本機沒有的變更時,推送會花費很長的時間,最後中止並出現錯誤。We fixed an issue where pushing when remote contains changes that don't exist locally takes a long time eventually aborting with errors.

Web 和 AzureWeb and Azure

XamarinXamarin

  • Xcode 11.5 和 11.6 的支援。Support for Xcode 11.5 and 11.6.
  • 我們更新了 Xamarin.Forms 範本,以使用 4.6.0 SR 5。We updated the Xamarin.Forms templates to use 4.6.0 SR 5.
  • 修正了導致遠端組建主機發生可靠性問題的問題。We fixed an issue that caused reliability issues in the remote build host.
  • 修正了在 Android Designer 中,內容功能表動作未當地語系化的問題。We fixed an issue where a context menu action was not localized in the Android designer.
  • 修正了使用者回報的一些當機問題。We fixed a handful of crashes reported by users.
  • 修正了 VoiceOver 會讀取兩次精靈範本頁面元素標籤的一些執行個體。We fixed a few instances where VoiceOver would read labels of elements on Wizard template pages twice.
  • 修正了分鏡腳本資源標籤遭移除的問題。We fixed an issue where storyboard resource tags are removed.
  • 修正了 Visual Studio for Mac 未產生分鏡腳本檢視控制器檔案的問題。We fixed an issue where Visual Studio for Mac was not generating view controller files for storyboards.
  • 我們已修正 Xamarin.mac 的一些腳本錯誤 (英文)。We fixed some Storyboard errors with Xamarin.mac.
  • 我們已修正 [Apple Developer 帳戶] 對話方塊中,展開/摺疊按鈕色彩對比過低的問題。We fixed an issue where color contrast was too low for the expand/collapse button in the Apple Developer account dialog.

已知問題Known Issues

下列是 Visual Studio 2019 for Mac 8.7 版中所有現有已知問題的清單:The following is a list of all existing known issues in Visual Studio 2019 for Mac version 8.7:

  • 在極少數的情況下,有可能除了 .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.

頁首
Top of Page