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



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


下載Download

按一下這個按鈕以下載最新版的 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.

重要

Mac OS X 10.11 (El Capitan) 或更低版本不支援 Visual Studio 2019 for Mac (第 8 版和更高版本)。Visual Studio 2019 for Mac (version 8 and higher) is not supported on Mac OS X 10.11 (El Capitan) or lower. 如果您擁有 Visual Studio 2017 for Mac (第 7 版),則不會向您顯示 Visual Studio 2019 for Mac 的更新。If you have Visual Studio 2017 for Mac (version 7), you will not be shown an update to Visual Studio 2019 for Mac. 也會封鎖安裝。Installation will also be blocked. 若要解決此問題,請更新為 macOS 10.12 (Sierra) 或更高版本To resolve this issue, update to macOS 10.12 (Sierra) or higher


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

Visual Studio 2019 for Mac 8.1 版的版本Visual Studio 2019 for Mac version 8.1 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

這個版本包含下列焦點內容:This release contains the following highlights:

  • 預設會啟用新的 C# 編輯器The new C# editor is enabled by default. 它提供建置在 Visual Studio 可靠基礎上已更新的完全原生 UI。It features an updated, fully native UI, built on top of the reliable Visual Studio foundation.
  • .NET Core 3 Preview 3、4 和 5 的支援。Support for .NET Core 3 Preview 3, 4, and 5. 如需 Preview 6 支援,請參閱下一版 PreviewFor Preview 6 support, check out the next Preview.
  • 單頁應用程式的三個新 ASP.NET Core 範本Three new ASP.NET Core templates for Single Page Apps. 這是透過 dotnet 命令列工具和 Windows 上 Visual Studio 提供的相同範本。These are the same templates provided by the dotnet command line tool and Visual Studio on Windows.

已知問題Known Issues

重要

如果您先前使用 .NET Core v2.2.1xx 搭配 Visual Studio for Mac 8.0,則需要手動更新為受支援的 .NET Core 版本,如 .NET Core 支援指南中所示。If you were previously using .NET Core v2.2.1xx with Visual Studio for Mac 8.0, you'll need to manually update to a supported version of .NET Core, as listed in the .NET Core Support guide. 建議您使用 2.1.7002.2.300We recommend either 2.1.700 or 2.2.300.

請參閱已知問題一節,以了解所有已知問題。Refer to the Known Issues section for all known issues.


Visual Studio 2019 for Mac 8.1.5 版 (8.1.5.9)Visual Studio 2019 for Mac version 8.1.5 (8.1.5.9)

發行於 2019 年 7 月 9 日released July 9, 2019

本版解決了下列問題:This release addresses the following issues:

Visual Studio 2019 for Mac 8.1.4 版 (8.1.4.5)Visual Studio 2019 for Mac version 8.1.4 (8.1.4.5)

於 2019 年 7 月 2 日發行released July 2, 2019

本版解決了下列問題:This release addresses the following issues:

Visual Studio 2019 for Mac 8.1.3 版 (8.1.3.19)Visual Studio 2019 for Mac version 8.1.3 (8.1.3.19)

2019 年 6 月 27 日發行released June 27, 2019

本版解決了下列問題:This release addresses the following issues:

  • AXML 檔案仍無法儲存.AXML files are still not saving.
  • [Publish in version control] (在版本控制中發行) 選項一直無法使用The "Publish in version control" option is always disabled.
  • 無法對具備 HTTPS 功能的 .NET Core 專案新增 Docker Compose 支援,並出現關於不信任或找不到自我簽署開發憑證的 Kestrel 例外狀況。Adding Docker Compose support to an HTTPS enabled .NET Core project fails with a Kestrel exception regarding the self-signed dev certificate not being trusted/found.
  • 依序偵錯 docker-compose 專案和 Web 應用程式之後,[應用程式輸出] 視窗中顯示「應用程式已結束,錯誤碼:255」。"The application exited with code: 255" displays in 'Application Output' window after debugging a docker-compose project then debugging the web application.
  • 無法對 macOS Catalina 上的一般主控台應用程式偵錯。Cannot debug a normal console application on macOS Catalina.
  • 當您嘗試開啟解決方案時,macOS Catalina 上的 Visual Studuo for Mac 會損毀。Visual Studuo for Mac crashes on macOS Catalina when you try to open a solution.

Visual Studio 2019 for Mac 8.1.2 版 (8.1.2.2)Visual Studio 2019 for Mac version 8.1.2 (8.1.2.2)

2019 年 6 月 23 日發行released June 23, 2019

此版本解決了遺失 XAML 檔案會中斷 IntelliSense 的問題。This release addresses an issue where a missing XAML file breaks IntelliSense.

Visual Studio 2019 for Mac 8.1.1 版 (8.1.1.27)Visual Studio 2019 for Mac version 8.1.1 (8.1.1.27)

2019 年 6 月 20 日發行released June 20, 2019

本版解決了下列問題:This release addresses the following issues:

Visual Studio 2019 for Mac 8.1 版 (8.1.0.2742)Visual Studio 2019 for Mac version 8.1 (8.1.0.2742)

2019 年 6 月 13 日發行released June 13, 2019

InstallerInstaller

  • 我們已將 Android 權限修正移至安裝時間。We moved the Android permissions fixes to install-time.
  • 我們已改善此版本 Visual Studio for Mac 安裝程式的設計和邏輯。We've improved both the design and logic of the Visual Studio for Mac installer in this release. 這會以更清楚的方式來呈現所有可用選項,讓您對真正想要安裝的項目做出睿智的決定。This presents all available options in a much clearer way, allowing you to make an informed decision on exactly what you want to install.
New Component Selection Screen
新的元件選取畫面New Component Selection Screen

新的 C# 編輯器 New C# Editor

我們已在 4 月發行了 Visual Studio 2019 for Mac,並提供全新的 C# 編輯器作為選擇加入體驗。When we released Visual Studio 2019 for Mac in April, we offered an entirely new C# editor as an opt-in experience. 我們想要確保新的編輯器符合我們的效能與可靠性標準,然後才能將其提升為 Visual Studio 2019 for Mac 內的預設編輯器。We wanted to ensure that the new editor meets our standards of performance and reliability before promoting it to the default editor within Visual Studio 2019 for Mac. 此外,我們想要確保舊版編輯器和新編輯器間的行為或功能中沒有任何重大差距存在。Additionally, we wanted to ensure no major gaps existed in behavior or functionality between the legacy editor and the new editor.

經過大量測試、Bug 修正並與社群進行多次對話之後,我們相信編輯器現在可以成為預設體驗。After a lot of testing, bug fixing, and many conversations with our community, we believe the editor is now at a point where it can be the default experience.

新編輯器提供建置在 Visual Studio 可靠基礎上已更新的完全原生 UI。The new editor features an updated, fully native UI built on top of the reliable Visual Studio foundation. 除了 Visual Studio for Mac 使用者社群明確要求的一些功能之外,您還會找到數個額外的功能,可縮小舊編輯器與新編輯器之間的差距。You’ll find several additional features that close the gap between the old and new editor in addition to some that were explicitly requested by the Visual Studio for Mac user community.

New Editor feature
Visual Studio for Mac 中的新編輯器功能New editor features in Visual Studio for Mac

新的 Visual Studio for Mac 編輯器帶來了以下功能:The new Visual Studio for Mac editor brings the following features:

  • 原生 macOS (以 Cocoa 為基礎) 使用者介面 (工具提示、編輯器介面、邊界裝飾、文字轉譯、IntelliSense)Native macOS (Cocoa-based) user interface (tooltips, editor surface, margin adornments, text rendering, IntelliSense)
  • 原生文字輸入的支援Support for native text inputs
  • RTL/BiDi 語言支援RTL/BiDi language support
  • 通用的 Visual Studio 平台核心Common Visual Studio Platform core
  • Roslyn 3Roslyn 3
  • 多個插入點的支援Multi-caret support
  • 自動換行Word Wrap
  • 更新 IntelliSense UIUpdate IntelliSense UI
  • 改良的尋找/取代Improved Find/Replace

編輯器中的程式碼片段支援Snippet Support in Editor

您現在可以藉由在完成視窗中選取程式碼片段時使用 [TAB]-[TAB],於新的編輯器中使用程式碼片段。You can now use Snippets in the new editor, by using [TAB]-[TAB] when a snippet is selected in the completion window.

Code Snippets
程式碼片段Code Snippets

格式化選取範圍Format Selection

您現在可以在醒目顯示選取範圍時,以及使用 [格式] 快速鍵或 [格式] 功能表命令,來格式化選取範圍。You can now Format Selection when a selection is highlighted and you use either the Format hotkey or the Format menu command.

Format Selection
格式化選取範圍Format Selection

捲軸中的錯誤標記邊界Error marker margin in scrollbar

現在將會在捲軸中標示錯誤和訊息,讓您能夠在程式碼內於這兩者間快速瀏覽。Errors and messages will now be marked in your scroll bar so you can quickly navigate between these within your code. 按一下標記,即會將您的插入點巡覽到錯誤或訊息的位置。Clicking on the marker will navigate your caret to the location of the error or message.

內嵌燈泡Inline Lightbulbs

Visual Studio 2019 for Mac 現在支援內嵌燈泡,提供針對程式碼的建議修正。Visual Studio 2019 for Mac now supports inline lightbulbs for suggestion fixes to your code. 當出現底線時,將游標置於程式碼上,並按一下出現的燈泡,從建議修正清單中選取。When an underline appears, hover over the code and click the lightbulb that appears to select from a list of suggested fixes.

Inline lightbulbs graphic
內嵌燈泡Inline lightbulbs

多個插入點Multiple Carets

請參閱新的 [編輯] > [多個游標] 功能表,以便使用 Windows 上的 Visual Studio 中已提供的進階游標操作命令,改進對多個游標的支援。See the new Edit > Multiple Carets menu for improved support for multiple carets with advanced caret manipulation commands as already available in Visual Studio on Windows. 游標操作的按鍵繫結關係在 Windows 上有相同的預設值,而且可以在喜好設定中自訂。Key bindings for caret manipulation have the same defaults as on Windows and can be customized in preferences.

Multiple Carets graphic
多個游標Multiple Carets
  • 已新增 [移至基底] 瀏覽命令和功能表項目。The Go To Base navigation command and menu item has been added.
  • 已新增 [移至行號] 瀏覽命令。The Go To Line Number navigation command was added.

單頁應用程式 (SPA) 的 ASP.NET Core 範本 ASP.NET Core templates for Single Page Apps (SPAs)

在此版本中,我們在 Visual Studio for Mac 中加入了三個新範本,透過 dotnet 命令列工具和 Windows 上 Visual Studio 提供的相同範本:In this release, we’re including three new templates in Visual Studio for Mac, the same templates provided by the dotnet command line tool and Visual Studio on Windows:

這些範本會透過使用上述每項技術所撰寫的範例用戶端應用程式來提供一個起點。These templates provide a starting point with a sample client-side application written using each of the technologies above. 應用程式會取用 ASP.NET Core API 後端所提供的資料。The application consumes data provided by an ASP.NET Core API backend. 這些範本所產生的專案檔會設定來在您執行應用程式時建置 TypeScript 和 JavaScript 資產,讓您能夠專注於建置應用程式,而不需離開 IDE。The project files generated by these templates are setup to build the TypeScript and JavaScript assets when you run your application, so that you can stay focused on building your app without leaving the IDE.我們也新增了新的 Razor 類別庫範本,以便輕鬆地封裝並重複使用您的 Razor 檢視、頁面、控制器、頁面模型、檢視元件及資料模型。We’ve also added a new Razor Class Library template to make it easier to package and reuse your Razor views, pages, controllers, page models, view components, and data models. 您可以在 ASP.NET Core Razor Pages 文件 (部分機器翻譯) 中深入了解這點。You can learn more about this in the ASP.NET Core Razor Pages documentation.

.NET Core.NET Core

ASP.NET CoreASP.NET Core

UnityUnity

  • 我們已在附加至 Unity 專案時,將偵錯工具的效能最佳化。We optimized performance of the debugger when attaching to Unity projects. 您也可以在 Visual Studio for Mac 中啟用 [喜好設定] > [來源分析] > [啟用整個解決方案的來源分析] 功能,更快速地進行附加。You can also enable the Preferences > Source Analysis > Enable source analysis of whole solution feature in Visual Studio for Mac to make attaching even faster.

偵錯工具Debugger

  • 您現在可以在使用 [設定下一個陳述式] 為 .NET Core 專案進行偵錯時,移動指令指標You can now move the instruction pointer around while debugging .NET Core projects using "Set Next Statement"
Set Next Statement
設定下一個陳述式Set Next Statement

ShellShell

  • 現在可以使用索引標籤列快顯功能表,關閉所選索引標籤右邊的所有索引標籤。It is now possible to close all tabs to the right of the selected tab using the tab bar context menu.
Close to the right graphic
關到右側Close to the right

啟動視窗Start Window

Web 工具Web Tools

組件瀏覽器Assembly Browser

專案系統Project System

版本控制Version Control

NuGetNuGet

XamarinXamarin

iOS 設計工具iOS Designer

Android 設計工具Android Designer

您現在可以並存編輯 Android 配置檔案與即時設計工具檢視。You can now edit Android layout files side-by-side with a real-time designer view. 這項體驗可讓您在編輯時立即查看您對 Android 配置檔案所做的變更,大幅改善編輯這些檔案時的效率。This experience allows you to see changes you make to an Android layout file on the fly as you are editing, greatly improving the efficiency while editing these files.

Android Designer split-view graphic
Android 設計工具分割檢視Android Designer split-view

Forms 設計工具Forms Designer

Xamarin.iOSXamarin.iOS

Xamarin.AndroidXamarin.Android

其他修正Other fixes


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


已知問題Known Issues

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


Visual Studio for Mac 版本資訊歷程記錄Visual Studio for Mac Release Notes History

您現在可以在版本資訊歷程記錄頁面上檢視舊版 Visual Studio for Mac 版本資訊。You can view prior versions of Visual Studio for Mac release notes on the Release notes history page.


頁首
Top of Page