適用于 Mac Preview v 7.6 版本資訊的 Visual Studio 2017Visual Studio 2017 for Mac Preview v7.6 Release Notes
開發人員社群 | 系統需求 | 合規性 | 可散發程式碼 | 文件 | 部落格 | 服務 |Developer Community | System Requirements | Compatibility | Distributable Code | Documentation | Blogs | Servicing |
下載Download
將 更新程式通道變更為 搶鮮版 (Beta) ,以安裝 Visual Studio for Mac 的最新 Preview 版本。Install the most recent Preview version of Visual Studio for Mac by changing the updater channel to Beta.
注意
此版本未正式運作,而不適用於實際執行電腦,或建立實際執行程式碼。This release is not "go-live" and not intended for use on production computers or for creating production code.
若要深入了解 Visual Studio 2017 for Mac,請參閱 Mac 系統需求和 Mac 平台目標及相容性。To learn more about Visual Studio 2017 for Mac, see Mac System Requirements and Mac Platform Targeting and Compatibility.
若要深入了解其他相關下載,請參閱下載頁面。To learn more about other related downloads, see the Downloads page.
目前情況如何?How are we doing?
我們很希望聽聽您的意見!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 in the Developer Community portal.
已知問題Known Issues
請參閱已知問題一節。Refer to the Known Issues section.
發行記錄Release History
- 2018 年7月24日 – Visual Studio 2017 for Mac 7.6 版 Preview 5July 24, 2018 – Visual Studio 2017 for Mac version 7.6 Preview 5
- 2018 年7月11日 – Visual Studio 2017 for Mac 7.6 版 Preview 4July 11, 2018 – Visual Studio 2017 for Mac version 7.6 Preview 4
- 2018 年6月21日 – Visual Studio 2017 for Mac 7.6 版 Preview 3June 21, 2018 – Visual Studio 2017 for Mac version 7.6 Preview 3
- 2018 年5月31日 – Visual Studio 2017 for Mac 7.6 版 Preview 2May 31, 2018 – Visual Studio 2017 for Mac version 7.6 Preview 2
- 2018 年5月7日 – Visual Studio 2017 for Mac 7.6 版 Preview 1May 07, 2018 – Visual Studio 2017 for Mac version 7.6 Preview 1
版本重點Release Highlights
- 組建記錄檔已完全改頭換面,可提供更容易閱讀和瞭解的結構化組建輸出。The Build Log has been completely revamped to give structured build output that is easier to read and understand.
- Azure Functions 支援已擴充。Azure Functions support has been expanded. 您現在可以在建立新的 Azure Functions 專案時,選擇觸發程序類型。You can now choose the trigger type when creating a new Azure Functions project. Visual Studio for Mac 現在也支援將 Azure Functions 發佈至 Azure。Visual Studio for Mac now also supports publishing Azure Functions to Azure.
- 我們已持續改善 Visual Studio for Mac 的效能與穩定性。We've continued to improve performance and stability in Visual Studio for Mac.
****
_ Visual Studio 2017 for Mac 7.6 版 Preview 5 (7.6.0.2086)* _ Visual Studio 2017 for Mac version 7.6 Preview 5 (7.6.0.2086)* 
于2018年7月24日發行released July 24, 2018
程式碼編輯器Code Editor
- 修正了
TODO
批註在最新的 Beta 版中停止運作的問題。Fixed an issue where theTODO
comments stopped working in latest beta. - 修正了 HTML 元素無法正確著色的問題。Fixed an issue where HTML elements would not colorize correctly.
- 修正了輸入區塊註解擲回 NotImplementedException 的問題。Fixed an issue where typing block comments throws a NotImplementedException.
- 修正了韓文語言輸入的問題,其中當從句尾往句首的方向選取時,最後一個字元不會反白,直到程式碼的完成對話方塊消失為止。Fixed an issue with Korean language input where the final character does not highlight when selecting from end of line to beginning of line, until code the completion dialog box disappears.
結構化組建輸出Structured Build Output
- 修正 結構化組建輸出不必要顯示工作名稱的問題。Fixed an issue where the structured build output unnecessarily displays task names.
- 改進 組建時間的舍入。Improved the rounding of build times.
- 已修正結構化組建輸出圖示的一些對齊問題。Fixed some alignment issues with the structured build output icons.
- 修正了無法在每個節點中選取最後一個字元的問題。Fixed an issue that prevented the selection of the last character in each node.
- 修正在執行新組建之後,顯示的檔案名未更新的問題。Fixed an issue where the displayed file name did not update after performing a new build.
專案Project
- 修正了建置 Xamarin Forms 控制項陳列庫時,造成間歇性當機的問題。Fixed an issue that causes an intermittent crash when building Xamarin Forms Control Gallery.
- 修正了專案的設定對應變更不會通知修改的問題。Fixed an issue where configuration mapping changes for a project does not notify modifications.
效能Performance
- 修正了 WebReference 增益集減緩了在 Solution Pad 中建置資料夾的速度的問題。Fixed an issue where the WebReference addin slows down folder building in the solution pad.
.NET Core.NET Core
- 修正了在變更專案屬性之後不會還原 .NET Core 專案的問題。Fixed an issue where .NET Core project is not restored after changing project properties.
NuGetNuGet
- 修正了 IntelliSense 無法辨識 NuGet 來源轉換的問題。Fixed an issue where NuGet source transformations are not recognized by IntelliSense.
XamarinXamarin
Xamarin.AndroidXamarin.Android
- 如果已安裝 JAVA 9 和更新版本,Visual Studio for Mac 將會
apksigner
在透過發行工作流程發佈時使用來簽署 apk。If Java 9 and above are installed, Visual Studio for Mac will useapksigner
to sign Android .apks when publishing through the publishing workflow.
其他Other
- 修正了 Visual Studio for Mac 不會提供更新的問題。Fixed an issue where Visual Studio for Mac appears to offer no updates.
- 修正了 Visual Studio for Mac 簽出功能凍結整個程式的問題。Fixed an issue where Visual Studio for Mac checkout functionality freezes entire program.
- 改進巡覽與意見反應問卷的流程。Improved navigation and flow of feedback survey.
- 修正了建立新的 Azure Functions 專案時的一些焦點問題。Fixed some focus issues when creating a new Azure Functions project.
Visual Studio 2017 for Mac 7.6 版 Preview 4 (7.6.0.2003)Visual Studio 2017 for Mac version 7.6 Preview 4 (7.6.0.2003)
于2018年7月11日發行released July 11, 2018
程式碼編輯器Code Editor
我們對程式碼編輯器進行了下列修正:We made the following fixes to Code Editor:
- 修正了切換行註解功能表已不存在的問題。Fixed an issue where toggle line comment menu no longer exists.
- 修正了在
CheckArrayIndexValueCodeRefactoringProvider
輸入左括弧時,已停用的問題。Fixed an issue where theCheckArrayIndexValueCodeRefactoringProvider
is disabled when typing an opening bracket. - 修正了例外狀況列中的 [顯示堆疊追蹤] 命令不會顯示任何資訊的問題。Fixed an issue where the "Show stack trace" command in the exception bar does not show or display any information.
- 修正了開啟檔案時,在 NullReferenceException 中擲回 MonoDevelop.SourceEditor.FileRegistry.HasMultipleIncorrectEolMarkers 的問題。Fixed an issue where a NullReferenceException in MonoDevelop.SourceEditor.FileRegistry.HasMultipleIncorrectEolMarkers is thrown when opening a file.
- 修正了TODO 問題的行/欄差 1 的問題。Fixed an issue where Line/col for TODO issues is off by 1.
- 修正將貼上 的文字縮排與額外 (的虛擬縮排) 空白的問題。Fixed an issue where pasted text indents with extra (virtual indentation) whitespace.
- 修正了 [顯示範圍] 命令包含標記的轉譯問題。Fixed a rendering issue where the "Show scopes" command includes markup.
- 修正了不一定會顯示偵錯工具提示的問題。Fixed an issue where debugger tooltips are not always displayed.
- 修正了一些文字編輯器中的圖形問題。Fixed some graphical glitches in the text editor.
- 修正了為方法重新命名不應觸發泛型類型引數移除的問題。Fixed an issue where renaming a method should not trigger the removal of generic type arguments.
- 修正了 EditorConfig 設定不會套用到加入至專案的新檔案的問題。Fixed an issue where EditorConfig settings are not applied to new files added to the project.
- 修正了內建的 [擴充功能] 和 [預設值],會顯示在語言組合面板中的問題。Fixed an issue where the built in 'extensions' and 'default' are displayed in language bundles panel.
- 修正了按一下原始程式檔的特定位置時,擲回例外狀況的問題。Fixed an issue where an exception is thrown when clicking in specific locations of a source file.
- 修正了 [加入參考] 快速修正不會新增參考的問題。Fixed an issue where "Add Reference" quick fix does not add a reference.
- 修正了搜尋結果不會使用另一個監視器以全螢幕顯示的問題。Fixed an issue where search results do not display in full screen with a second monitor.
- 修正了啟用程式碼摺疊功能時,顯示「儲存變更時發生錯誤」這個錯誤的問題。Fixed an issue where an error, "There was an error saving the changes", displays when enabling code folding.
- 修正了導致編輯器偶爾對使用者輸入變得沒有回應的問題。Fixed an issue that caused the editor to occasionally become unresponsive to user input.
- 修正了 重新命名類別要求重載檔案的問題。Fixed an issue where renaming a class asks to reload the file.
效能Performance
- 我們在改善 IDE 啟動時的工作量方面取得了額外的收益。We have made additional gains on improving the amount of work performed by the IDE on startup.
- 修正了 DisposeDocument 訂閱事件而非取消訂閱的記憶體問題。Fixed a memory issue where Document.DisposeDocument subscribes to an event instead of unsubscribing.
- 修正了與 FileWatcherService 資源耗盡相關的問題。Fixed issues related to FileWatcherService resource starvation.
- 修正了程式碼修正預覽功能表在大型修正時停止回應數秒鐘的問題。Fixed an issue where code fix preview menu hangs several seconds on large fixes.
專案Project
- 修正了載入沒有 TargetFramework 的 sdk 樣式專案時的 NullReferenceException。Fixed a NullReferenceException when loading an sdk-style project with no TargetFramework.
- 修正了 MSBuild 匯入之間的循環相依性可能會導致 StackOverflowException 的問題。Fixed an issue where circular dependencies between MSBuild imports would result in a StackOverflowException.
- 改善了無法評估 MSBuild 專案時的錯誤訊息。Improved error messaging when failing to evaluate an MSBuild project.
- 修正了導致 Visual Studio for Mac 在開啟方案時凍結的問題。Fixed an issue that caused Visual Studio for Mac to freeze when opening solution.
結構化組建輸出Structured Build Output
- 現在可存取結構化組建輸出,以及 MSBuild 的舊「一般」輸出。The Structured Build Output is now accessible along with the old "flat" output from MSBuild.
- 修正 結構化組建輸出中的損毀。Fixed a crash in structured build output.
- 修正了從階層連結 欄選取 [組建成功]的問題,會中斷階層連結列。Fixed an issue where selecting "Build succeeded" from breadcrumb bar breaks breadcrumb bar.
- 修正階層連結列「 沒有選取」顯示為空清單的 UI 問題。Fixed a UI glitch where the breadcrumb bar "no selection" pops up empty list.
- 修正了 針對執行中模擬器進行組建的問題,會中斷組建輸出。Fixed an issue where building against a running emulator appears to break Build Output.
- 修正了 當沒有結果時,[下一步] 和 [上一個] 按鈕應該不區分的問題。Fixed an issue where the next and previous buttons should be insensitive when there are no results.
- 現在 預設會展開輸出。The output is now expanded by default.
- 我們新增了 一個組建正在進行中的指標。We added an indicator that a build is in progress.
- 我們已改善階層連結列的邊框 距離。We improved the padding of the breadcrumb bar.
- 修正組建輸出底部警告的導覽連結截斷。Fixed truncation of the navigation link for warnings at the bottom on the build output.
Web 工具Web Tools
- 修正了如果插入號的後面緊接著
}
,則不會認可程式碼完成的問題。Fixed an issue where code completion doesn't commit if the caret is immediately followed by}
. - 修正了 JavaScript 語法醒目提示在將參數傳遞至函式時中斷的問題。Fixed an issue where JavaScript syntax highlighting breaks when passing parameter to a function.
- 修正了 Razor 指示詞色彩標示不正確的問題。Fixed an issue where Razor directives are not colorized correctly.
- 更新了 JavaScript/TypeScript TextMate 語言檔案。Updated JavaScript/TypeScript TextMate Language files.
- 修正了 [新增專案] 對話方塊在建立新的 Azure Functions 專案之後不會關閉的問題。Fixed an issue where the New Project dialog does not close after creating a new Azure Functions project.
- 修正了縮排
@{}
區塊中的程式碼在認可後向上跳一行,而且無法重新定位的問題。Fixed an issue where code in indented@{}
block jumps up a line when committed and cannot be repositioned.
F#F#
- 修正了新增 FSharp.Core 4.5.0 NuGet 套件會將 4.3.3 顯示為 Solution Pad 中顯示的相依性的問題。Fixed an issue where adding FSharp.Core 4.5.0 NuGet package shows 4.3.3 as the displayed dependency in the solution pad.
XamarinXamarin
Xamarin.MacXamarin.Mac
- 修正了 無法透過 Xcode 開啟分鏡腳本檔案的問題。Fixed an issue where it is not possible to open a storyboard file through Xcode.
Xamarin.AndroidXamarin.Android
- 修正在發行設定 中啟動應用程式時,應用程式不會啟動的問題。Fixed an issue where the app would not launch when starting the app in Release configuration.
其他Other
- 修正使用者 無法儲存檔案,並將新資源新增至 Xamarin forms 專案的問題。Fixed an issue where the user is unable to save files and add new resources to the Xamarin forms project.
- 修正了可見度為「只有公用成員」時,組件瀏覽器不會顯示公用成員的問題。Fixed an issue where the assembly browser does not show public members if visibility is "Only public members".
- 修正了 開啟內容功能表時,在 [工具] -> [選項]-> [原始檔控制] 中遺漏 [原始檔控制] 選項的問題。Fixed an issue where Source Control selection in Tools -> Options -> Source Control is lost when opening context menu..
Visual Studio 2017 for Mac 7.6 版 Preview 3 (7.6.0.1773)Visual Studio 2017 for Mac version 7.6 Preview 3 (7.6.0.1773)
2018年6月21日發行released June 21, 2018
結構化組建輸出 Structured Build Output
在過去,組建輸出只是以最少量的格式來捕捉組建工作的輸出。Historically the Build Output was simply a capture of the output from the build tasks with minimal formatting. 這讓您很難找到特定的資訊,難以瞭解新使用者,而且經常會被截斷,因為它太長而無法在記憶體中保留。This makes it hard to find specific information, hard to understand for new users, and was often truncated because it was too long to be held in memory. 在此版本中,我們會根據 MSBuild 二進位記錄檔推出新的組建輸出檔案。In this release, we are introducing a new Build Output document based on MSBuild binary logs.
其中兩個最明顯的變更,就是記錄檔不再顯示在錯誤面板中,而且輸出是結構化的,而不是一般文字記錄檔。The two most obvious changes are that the log no longer shows in the Errors pad and that the output is structured instead of being a flat text log. 按一下 [錯誤] 面板中的 [組建輸出] 按鈕,現在會以組建輸出開啟新檔,而不會將輸出限制在錯誤板的右側。Clicking the "Build Output" button in the Errors pad now opens a new document with the build output instead of constraining the output to the right hand side of the Error pad.

在查看組建記錄檔時,您現在可以藉由變更檢視器中的記錄檔詳細資訊來啟用記錄的診斷查看,而不是在喜好設定中變更記錄檔,然後重新建立專案。When viewing the Build Log you can now enable a diagnostic view of the log by changing the log verbosity in the viewer, instead of changing it in Preferences and re-building the project again. 記錄檔可以儲存到磁片,而且隨時都可以重新開啟。The log can be saved to disk and can be re-opened at any time. 我們已新增直接在 Visual Studio for Mac 中開啟 binlog 檔案的支援,可讓您進行這項作業。We have added support for opening .binlog files directly in Visual Studio for Mac to enable you to do this.
組建輸出可供搜尋,並可向下切入到執行的工作,以瞭解組建的流程。The build output is searchable and it's possible to drill down into the tasks that ran to understand the flow of the build.
Azure Functions Azure Functions
我們更新並改善了建立新 Functions 專案時的體驗。We updated and improved the experience when creating a new Functions project. 先前新專案會預設使用 HttpTrigger 函式。Previously the new project would default with an HttpTrigger function. Visual Studio for Mac 現在會提供可用的觸發程序類型,供您在建立新專案時選取。Visual Studio for Mac now offers available trigger types that you can select when creating a new project.


程式碼編輯器Code Editor
- 我們已經在編輯器中新增了取代標記,表示可以輸入右括弧。We have added an overtype marker in editor to show that the closing bracket can be typed over.

- 修正 當
IntelliSense - Show Import Items
開啟時,匿名方法中的程式碼自動完成中斷的問題。Fixed an issue where code completion in anonymous methods is broken whenIntelliSense - Show Import Items
is turned on. - 修正了一些文件註解:例外狀況,Param ref 的問題。Fixed some issues with documentation comments: Exception, Param ref.
- 修正了 xsl: variable 的 XSLT 驗證錯誤不正確。Fixed incorrect XSLT validation error for xsl:variable.
- 修正了展開程式碼片段時的游標位置的問題。Fixed an issue with the cursor location when expanding a code snippet.
- 修正了使用者的醒目提示佈景主題損毀時顯示的空白錯誤對話方塊。Fixed an empty error dialog that is shown when the user has a corrupt highlighting theme.
- 修正 在元件瀏覽器中流覽至類型時發生錯誤。Fixed an error navigating to a type in assembly browser.
- 已修正下列問題:gutter on the left corrupts when you hover over the '...' associated with a compile error (當您在已與編譯錯誤建立關聯的 '...' 上停留時,左邊的裝訂邊會損毀)。Fixed an issue where the gutter on the left corrupts when you hover over the '...' associated with a compile error.
- 修正 當輸入時,文字會失去縮排的問題。Fixed an issue where text loses indentation when typing.
- 修正了編輯器不適用於 .NET Standard 2.0 NuGet 的問題。Fixed an issue where the editor doesn't work with .NET Standard 2.0 NuGet.
- 修正了韓文語言輸入的問題,其中當從句尾往句首的方向選取時,最後一個字元不會反白。Fixed an issue with Korean language input where the final character is not highlighted when selecting from end of line to beginning of line.
- 修正了韓文字元在選取/反白 (例如複製並貼上時) 時調換位置的問題。Fixed an issue where Korean characters are transposed during selection/highlight (e.g. to copy + paste).
效能Performance
- 修正了因為設定變更的緣故,在方案載入時呼叫了 LoadProject 兩次的問題。Fixed an issue where LoadProject is called twice on solution load due to configuration change.
- 修正 F # 醒目提示使用方式在前景執行緒上執行太多工作的問題。Fixed an issue where F# highlight usages does too much work on the foreground thread.
- 修正了 IDE 焦點-in/out 執行大量 IO的問題。Fixed an issue where IDE focus-in/out does a lot of IO.
- 修正了 較慢 MSBuild GetSourceFilesAsync 評估的可能原因。Fixed a possible cause of slow MSBuild GetSourceFilesAsync evaluation.
- Visual Studio for Mac 現在當作業系統觸發記憶體的相關警告時,會停用完整方案分析。Visual Studio for Mac now disables full solution analysis when the OS triggers a warning about memory.
- 已針對 MDWorkspace 執行 Roslyn 背景編譯器。Implemented a Roslyn background compiler for MDWorkspace.
- 隨需載入每個檔案類型的語法配置。Load syntax schemes on demand for each file type.
- 修正了可能使 UI 在開啟方案之後凍結的問題。Fixed an issue that could cause the UI to freeze after opening a solution.
協助工具Accessibility
- 程式碼摺疊功能會在使用 VoiceOver 時顯示,而不會自動隱藏,這是預設行為。Code folding shows when VoiceOver is being used, instead of auto hiding, which is the default behavior.
專案Project
- 修正了當檔案從外部新增至專案時的 NullReferenceException。Fixed a NullReferenceException when a file is added externally to the project.
.Net Core.Net Core
- 修正了新檔案的預設建置動作。Fixed the default build action for new files.
- 修正了建置 ASP.NET Core Angular 專案時 UI 停止回應的問題。Fixed a UI hang when building an ASP.NET Core Angular project.
NuGetNuGet
- 修正了 更新 PackageReference 移除中繼資料的問題。Fixed an issue where updating PackageReference removes metadata.
Web 工具Web Tools
- 修正了在 TypeScript 檔案中鍵入下列內容時發生的例外狀況:System.ArgumentException Message=指定的 SnapshotPoint 或 SnapshotSpan 位於與此 SnapshotSpan 不同的 ITextSnapshot 上。Fixed an exception when typing in TypeScript file: System.ArgumentException Message=The specified SnapshotPoint or SnapshotSpan is on a different ITextSnapshot than this SnapshotSpan..
- 修正了沒有適用於 .css 檔案之 IntelliSense 的問題。Fixed an issue where there was no IntelliSense for .css files.
- 修正了無法在智慧縮排行上使用退格鍵的問題。Fixed an issue where backspace was not available on smart indented lines.
F#F#
- 修正一些不 正確的 F #自動完成。Fixed some inaccurate F# autocompletion.
- 從範本中移除 ' ValueTuple. 4.3.0 ' ,因為它不是必要的,而且不在 NuGet 上。Remove 'System.ValueTuple.4.3.0' from templates as it is not required and is not on NuGet.
XamarinXamarin
Xamarin.FormsXamarin.Forms
- 修正了 IntelliSense 不適用於透過 Xamarin.Forms XAML 自動產生的欄位的問題。Fixed an issue where IntelliSense does not work for auto-generated fields through Xamarin.Forms XAML.
Xamarin.iOSXamarin.iOS
佈建Provisioning
Visual Studio for Mac 中的自動布建現在會根據預設嘗試建立並使用萬用字元應用程式識別碼和布建設定檔,而不是根據 plist 檔案中指定的套件組合識別碼來建立應用程式識別碼。Automatic provisioning in Visual Studio for Mac will now attempt to create and use wildcard App ID and provisioning profiles by default, instead of creating an App ID based on the Bundle Identifier specified in the Info.plist file. 根據預設,使用萬用字元識別碼會減少開發人員入口網站中需要維護的設定檔和識別碼數目。Using wildcard IDs by default reduces the number of profiles and IDs that need maintenance in the developer portal.
在某些情況下,您必須根據應用程式中使用的權利,使用明確的應用程式識別碼。There are some cases where an explicit App ID needs to be used, based on the entitlements used in the app. 萬用字元應用程式識別碼 不 支援下列權利:The following entitlements are not supported by wildcard App IDs:
- 應用程式群組App Groups
- 相關聯的網域Associated Domains
- Apple PayApple Pay
- Game CenterGame Center
- HealthKitHealthKit
- HomeKitHomeKit
- 作用區Hotspot
- 在應用程式內購買In-App purchase
- 多重路徑Multipath
- NFCNFC
- 個人 VPNPersonal VPN
- 推播通知Push Notifications
- 無線配件組態Wireless Accessory Configuration
如果您的應用程式使用其中一種權利,Visual Studio for Mac 會嘗試建立明確的應用程式識別碼,而不是萬用字元。If your app uses one of these entitlements, Visual Studio for Mac will attempt to create an explicit App ID instead of a wildcard one.
除了支援萬用字元應用程式識別碼之外,還修正了下列問題:In addition to wildcard App ID support, the following issues have been fixed:
- 將偵錯工具連接到您的應用程式時,Visual Studio for Mac 現在會使用裝置的連接埠,而不是使用全域喜好設定。When connecting the debugger to your app, Visual Studio for Mac now uses the device's connection port instead of using global preferences. 這表示,即使喜好設定用於 WiFi 偵錯,USB 還是用於偵錯 (透過 USB 連接時)。This means USB is used for debugging (when connected through USB) even if the preferences are for WiFi debugging.
- 修正了嘗試連接至 Apple 開發人員帳戶時發生的錯誤。Fixed an error when trying to connect to Apple Developer Account.
- 修正了啟用鑰匙圈存取群組時,
$(AppIdentifierPrefix)
不會在自動產生的套件組合識別碼項目之前插入的問題。Fixed an issue where$(AppIdentifierPrefix)
is not inserted before the automatically generated bundle ID entry when enabling keychain access groups. - 修正了命名空間與 iOS 專案不符的新 watchOS 專案的問題。Fixed an issue with new watchOS projects where the namespace would not match the iOS project.
- 修正了問題分析器在變更部署目標後不會觸發的問題。Fixed an issue where the issue analyzer would not trigger after changing the deployment target.
- 修正了防止透過 WiFi 分析 tvOS 應用程式的問題。Fixed an issue that prevented profiling a tvOS application over WiFi.
Xamarin.AndroidXamarin.Android
- 修正了 啟動模擬器時,如果 Android SDK Tools 遺失,使用者就不會收到通知的問題。Fixed an issue where users would not be notified if Android SDK Tools were missing when starting an emulator.
- 修正應用程式無法安裝的問題,即使它們已正確安裝也是一樣。Fixed an issue where apps would be reported as failed to install, even though they installed correctly.
Android SDK ManagerAndroid SDK Manager
- 修正了在安裝時顯示元件授權的問題。Fixed an issue showing component licenses on installation.
- 修正了在下載影響 UI 執行緒的元件時的執行緒問題。Fixed a threading issue when downloading components that impacted the UI thread.
Android Device ManagerAndroid Device Manager
- 修正啟動模擬器時,需要下載系統映射的問題。Fixed an issue starting emulators that required a system image to be download before starting.
其他Other
- 修正了停止測試之後無法重新執行測試的問題。Fixed an issue where it is not possible to re-run tests after stopping tests.
適用于 Mac 7.6 版 Visual Studio 2017 Preview 2 (7.6.0.947)Visual Studio 2017 for Mac version 7.6 Preview 2 (7.6.0.947)
於 2018 年 5 月 31 日發行released May 31, 2018
程式碼編輯器Code Editor
此版本解決了程式碼編輯器的一些問題:This release addresses a number of issues with the code editor:
- 在修改 editorconfig 之後,分析器和格式化不會更新。Analyzers and formatting do not update after modifying editorconfig.
- 單行成員會顯示為可折迭。Single-line members were shown as collapsible.
- 建立新的事件處理常式一律會將方法放在類別的開頭。Creating a new event handler would always put the method at the start of the class.
- 在 .cs 檔案中刪除其上方的大括弧時,會移除右大括弧。The closing curly brace is removed on deleting curly braces above it in a .cs file.
- 摺疊的區域會自動展開 (英文)。Collapsed regions would auto expand.
- 導覽至元件瀏覽器時 ,[移至定義] 無法可靠地運作。Go to Definition would not work reliably when navigating to the assembly browser.
- 7.5 組建1254中的元件瀏覽器已中斷。The assembly browser is broken in 7.5 build 1254.
- 儲存檔案時 Visual Studio for Mac 凍結。Visual Studio for Mac freezes when saving a file.
- 展開程式碼片段之後,資料指標的位置不正確。The cursor would be located incorrectly after expanding snippets.
- 以滑鼠右鍵按一下-> FindReferences 在介面中使用時,會傳回太多無用的結果。Right-click -> FindReferences returns too many useless results when used in an interface.
- 「波浪線」不會在縮放時使用編輯器進行縮放。"Squiggles" do not scale with editor when zooming.
- 您可以在 [快速修正] 功能表中找到多個「明確類型的變數」動作。Multiple "var to explicit type" actions are available in the Quick Fix menu.
- 輸入或移至另一個專案時,工具提示不會消失。Tooltip does not disappear on typing or moving to another item.
- 工具提示通常會封鎖按兩下文字選取範圍。Double click text selection is often blocked by tooltip.
- 切換線批註功能表不再存在。Toggle line comment menu no longer exists.
- 文字編輯器會在跳至某一行來源時 misrenders。Text editor misrenders when jumping to a line of source.
- 無法關閉設定位置系統指示詞。Setting Place System directives first cannot be turned off.
-
TODO
在更新) 之前,不會再反白顯示 (的工作。TODO
doesn't highlight anymore (worked before Update). - 透過快速修正命令叫用時,可透過篩選規則,讓您更輕鬆地設定快速修正規則。We made it easier to configure Quick Fix rules by filtering the rules when invoked through the Quick Fix command.
- 我們已修正一些由右至左的問題:We fixed some Right-to-Left issues:
專案Project
- 我們修正了建立新的 Functions 專案會導致 IntelliSense 錯誤,直到將專案關閉後重新開啟為止的問題。We fixed an issue where creating a new Functions project would result in IntelliSense errors until the project was closed and reopened.
Clean
目標 現在會以非同步方式執行。TheClean
target now runs asynchronously.
偵錯工具Debugger
- 我們修正了即時運算視窗完成只包含區域變數的問題。We fixed an issue where the Immediate window completion only contains locals.
效能Performance
我們已修正下列效能相關問題:We fixed the following performance related issues:
- MEF 會在 UI 執行緒上執行工作。MEF would perform work on the UI thread.
- VSTest Adapter 會延遲載入方案。VSTest adapter delays solution load.
- GetSemanticModelAsync 不應該從 UI 執行緒呼叫。GetSemanticModelAsync should not be called from UI Thread.
ShellShell
此版本推出下列功能:This release introduces the following feature:
- 如果已安裝活頁簿,您現在可以從 [歡迎使用] 頁面建立互動式活頁簿。It is now possible to create an Interactive Workbook from the Welcome Page if Workbooks is installed.
下列問題已在 Visual Studio for Mac Shell 中獲得解決:The following issues were addressed in the Visual Studio for Mac Shell:
- 當系統語言設定成中文時,不會在 Visual Studio for Mac 中反映 (英文)。When the system language is changed to Chinese, it is not reflected in Visual Studio for Mac.
- [歡迎使用] 頁面中的釘選圖示太小。The pin icon in the Welcome Page is too small.
- 選取名稱開頭為 # 的裝置時,Visual Studio for Mac 7.5損毀。Visual Studio for Mac 7.5 crashes when selecting a device with a name starting with #.
- [歡迎使用] 頁面上的拖放功能無法再使用。Drag-and-drop into welcome page does not work anymore.
- 無法重新命名方案專案。Cannot rename solution items.
- 無法將新檔案加入至方案專案。Cannot add new file to solution items.
- 移至上一個筆記本功能表項目無法運作。Move to previous notebook menu item is not working.
- 適用于 Mac 7.5 的 Visual Studio 2017 (組建 1255) 損毀,而不會在從 7.6 Preview 降級至7.5 時顯示 UI。Visual Studio 2017 for Mac 7.5 (build 1255) crashes without ever showing UI when downgrading from 7.6 Preview to 7.5.
版本控制Version Control
- 我們修正了在 [隱藏管理員] 對話方塊中不會顯示 Git 隱藏註解的問題。We fixed an issue with the Git stash comment not displayed in Stash Manager dialog.
- 我們修正了 Git 在背景執行緒套用隱藏 - Gtk 警告 - 作業完成的問題。We fixed an issue with Git apply stash - Gtk warning - operation done on background thread.
NuGetNuGet
- 我們現在支援在開啟方案時的無作業還原。We now support no-op restores on opening a solution. 如果封裝參考未變更,則不會進行任何作業還原。If the package references have not changed a then a no-op restore will occur.
.Net Core.Net Core
當 ASP.NET Core 增益集嘗試安裝 HTTPS 開發憑證時,現在將會顯示要求輸入使用者名稱與密碼的 macOS 訊息對話方塊:When the ASP.NET Core addin tries to install the HTTPS development certificate, the macOS message dialog that asks for the username and password will now display:
dotnet-dev-certs 希望進行變更。dotnet-dev-certs wants to make changes.
修正了無法使用 IntelliSense 的建議,將宣告新增至空白 c # 檔案的問題。We fixed an issue that where it wasn't possible to add declarations to an empty C# file using suggestions from IntelliSense.
F#F#
此版本推出下列功能:This release introduces the following feature:
- 我們已將新專案中參考的 Xamarin.Forms 版本更新為 3.0。We updated the version of Xamarin.Forms that is referenced in new projects to 3.0.
我們已修正 F # 開發人員的下列問題:We fixed the following issues for F# developers:
- F # 的「尋找參考」錯誤地傳回「0相符」。F#'s "Find References" wrongly returns "0 matches" too often.
- 使用 Xamarin 3.0 時,Android 資源類型提供者發生 F # 錯誤。F# error in Android resource type provider when using Xamarin.Forms 3.0.
- F # interactive 會輸出初始輸出訊息,而不需要任何使用者輸入。F# interactive outputs initial output message without any user input.
- F # Xamarin. Forms 專案範本描述會在應 .NET Standard 時提及 PCL。F# Xamarin.Forms project template description mentions PCL when it should be .NET Standard.
- 檔案 > F # 中的 新空白表單應用程式 會將 Android SDK 設定為8.0,而不是使用最新版本。File > New Blank Forms App in F# sets the Android SDK to 8.0 instead of Use Latest.
- F # interactive 命令歷程記錄是由一開始。F# interactive command history is off by one.
Web 工具Web Tools
- 我們修正了在新的 ASP.NET Core Web 應用程式中,從範本編輯 appsettings.json 檔案時發生的嚴重錯誤。We fixed a fatal error when editing an appsettings.json file in a new ASP.NET Core Web app from template.
- 我們修正了無法加入 ASP.NET MVC 專案的 Web 參考的問題。We fixed an issue where web references to ASP.NET MVC project could not be added.
Azure Azure
- 現在可以發佈您的 Azure 函數。It is now possible to publish your Azure Function. 以滑鼠右鍵按一下函式專案,然後選取 [ 發行],再建立或發佈至 Azure App Service。Right click the Function project and select Publish, then create or publish to an Azure App Service.


- 我們已改善載入訂用帳戶詳細資料所花費的時間。We improved the time it takes to load subscription details.
XamarinXamarin
Xamarin.iOSXamarin.iOS
我們已修正下列 iOS 專案的問題:We fixed the following issues with iOS projects:
- WatchKit 在 info. plist 中指定的複雜資產集無法在編譯時辨識。WatchKit Complication Assets Set specified in info.plist not recognized on compile.
aps-environment
發行組建之後,未設定為production
。aps-environment
is not getting set toproduction
after publishing a release build.- 在[方案瀏覽器] 中會列出共用專案中的資產目錄兩次。Asset catalogs in a shared project are listed twice in the solution explorer.
Enable Classkit
當 plist 檔案重新開啟時, plist 中的核取方塊不會顯示為已核取。Enable Classkit
checkbox in Entitlements.plist does not display as checked when the Entitlements.plist file is re-opened.
Xamarin.AndroidXamarin.Android
- 我們修正了發佈至 Play Store 時的損毀情況。We fixed a crash when publishing to the Play Store.
Xamarin.FormsXamarin.Forms
- 我們修正了一些 Xamarin.Forms 的 XAML 編輯問題:We fixed some XAML editing issues for Xamarin.Forms:
Visual Studio 2017 for Mac 7.6 版 Preview 1 (7.6.0.711)Visual Studio 2017 for Mac version 7.6 Preview 1 (7.6.0.711)
在 2018 年 5 月 7 日發行released May 7, 2018
程式碼編輯器Code Editor
- 預設會啟用程式碼折迭。Code Folding is enabled by default.
- 修正了工具提示不會消失的問題。Fixed an issue where tooltips do not disappear.
- 修正了建議的「將匿名群組轉換為方法群組」取代無效的問題。Fixed an issue where a suggested "Convert anonymous group to method group" replacement would be invalid.
- 工具提示逾時現在較短,這會縮短快速諮詢快顯的時間。Tooltip timeout is now shorter, which lowers the quick info popup time.
- 修正了文件開頭的 Alt+向上鍵會導致例外狀況的問題。Fixed an issue where Alt+Up at beginning of the document results in an exception.
- 編譯變更時,不會更新 c # 分類。C# classification does not update when compilation changes.
效能Performance
- 改善 [尋找參考] 命令的效能。Improved the performance of the Find References command.
- 減少 專案模型評估競爭,可改善專案載入效能。Reduced Project model evaluation contention, which improves project load performance.
ShellShell
- 修正 當使用鍵盤快速鍵多次關閉時,會顯示多個儲存對話方塊的問題。Fixed an issue where multiple Save dialogs are shown when close using keyboard shortcut multiple times.
協助工具Accessibility
- 修正了 VoiceOver 會讀取「專案選項」中的隱藏元素的問題。Fixed an issue where VoiceOver would read invisible elements in the 'Project Options'.
NuGetNuGet
- Visual Studio for Mac 現在支援 Mono MSBuild 隨附的 NuGet SDK 解析程式。The NuGet SDK Resolver that is included with Mono's MSBuild is now supported by Visual Studio for Mac. 如此可從 NuGet 下載 SDK,並由 SDK 樣式專案取用。This allows SDKs to download from NuGet and consumed by SDK style projects.
F#F#
- 修正了 在 F # 專案中不正確地排序隱含資料夾的問題。Fixed an issue where implicit folders are incorrectly ordered in F# projects.
- 改進 F # 如何使用 FCS 而非硬式編碼的清單來取得其關鍵字清單。Improved how F# gets its list of keywords by using FCS instead of a hardcoded list.
XamarinXamarin
視覺化設計工具Visual Designers
Android 設計工具Android Designer
- 全精確度版面配置編輯:您的 XAML 修改現在會保留,即使在設計模式中也一樣。Full-fidelity layout editing: your XAML modifications are now preserved even in design mode.
- 已將轉譯器更新至最新的 Android Oreo。Updated renderer to latest Android Oreo.
- IntelliSense 效能改進。IntelliSense performance improvements.
Xamarin.iOSXamarin.iOS
- ClassKit 權利: ClassKit 可在您教育版教育應用程式中啟用適用于 iPad 的功能,可供教育機構使用 Apple School Manager 和受控 Apple Id。ClassKit entitlements: ClassKit enables features in your education apps for iPad that can be used by educational institutions with Apple School Manager and Managed Apple IDs.
- 如果特定 iOS 或 Mac 的建構函式 (分別來自 Xamarin.iOS 或 Xamarin.Mac) 因為過時而無法使用,或導入至比專案鎖定版本 (例如,Info.plist 中所設定的「部署目標」) 還新的作業系統版本,Visual Studio for Mac 現在會對您發出警示。Visual Studio for Mac will now alert you if a particular iOS or Mac constructor (from Xamarin.iOS or Xamarin.Mac, respectively) is unavailable due to deprecation or introduced into a later version of the OS than the version the project is targeting (e.g. the "Deployment Target" as set in the Info.plist).
- 修正了 IWKNavigationDelegate 有兩個介面方法,而且只有一個顯示在 IntelliSense 中的問題。Fixed an issue where IWKNavigationDelegate has two interface methods, and only one is shown in IntelliSense.
Xamarin.MacXamarin.Mac
- 修正發佈 Mac 應用程式時的一些視覺問題。Fixed a number of visual glitches when publishing Mac apps.
已知問題Known Issues
- 如果透過 Android Studio) 安裝,則在安裝程式 (中未偵測到已安裝的 Android SDK。Already installed Android SDK is not detected in the installer (if installed through Android Studio).
- 建置時,不會重新整理專案中的 Razor TagHelper。Razor TagHelpers in project aren’t refreshed on build.
- _Layout.cshtml 中的 CSS 類別 IntelliSense,但不在檢視中。CSS Class IntelliSense in _Layout.cshtml, but not in views.
- 在 Razor 中,切換註解無法使用 HTML 運作。In Razor, toggle comments does not work in HTML.
- Razor:縮排
的標記內容縮排不正確。 Razor: indentedtag content indentation bad. 在 for 迴圈中輸入標記會變更為 [ (aspnet/Razor/問題/2200) 的文字區 Typing atag in a for loop is changed to textarea (aspnet/Razor/issues/2200)
Team Foundation 版本控制延伸模組 - 版本資訊Team Foundation version control extension – Release Notes
Team Foundation 版本控制支援現在可作為 Visual Studio for Mac 的延伸模組。Team Foundation version control support is available as an extension for Visual Studio for Mac. 如需安裝和使用延伸模組的詳細資訊,請參閱 連接到 Team Foundation 版本控制 指南。For more information on installing and using the extension, see the Connecting to Team Foundation version control guide.
0.3.10.3.1
發行日期:2018 年 6 月 28 日Released 6/28/2018
實作的增強功能:Implemented enhancements:
- 改進了來源總管體驗。Improved Source Explorer experience. 移除了重新整理按鈕,原因是所有項目現在會自動重新整理。The Refresh button has been removed since everything is now refreshed automatically.
- 簡化了工作區建立程序。Simplified workspaces creation process.
- 次要 UI 變更。Minor UI changes.
修正 bug:Fixed bugs:
- 修正資料夾驗證的錯誤。Fixed BUG with folders validation. 這可能會影響工作區的建立。It could affect the creation of workspaces.
0.30.3
發行日期:2018 年 6 月 27 日Released 6/27/2018
實作的增強功能:Implemented enhancements:
- 改進了專案篩選。Improved project filter. 新增了依伺服器 URL 和使用者名稱來篩選的選項。Added option to filter by server URL and username.
- 改進了來源總管載入時間。Improved Source Explorer loading time.
- 在 [源 Explorer] 中重新整理程式的改善 (載入指標、停用/啟用按鈕等) 。Improvements in the refresh process in Source Explorer (loading indicator, disable/enable buttons, etc).
- 已將更多選項新增至來源總管,例如尋找工具中的開啟資料夾等。Added more options to Source Explorer like open folders in Finder, etc.
- 改進了工作項目載入時間。Improved Work Items loading time.
- 變更了某些常值以配合 TFVC 商標。Changes in some literals to adapt TFVC branding.
- 更多驗證:檢查工作區本機路徑是否存在等。More validations: check if the workspace local path exists, etc.
- 次要 UI 變更。Minor UI changes.
修正 bug:Fixed bugs:
- 新增了工作區快取,以避免不必要的要求驗證專案 (大幅效能改進)。Added workspace cache to avoid unnecessary request validating project (big performance improvement).
- 修正開啟來源瀏覽器的 BUG。Fixed BUG opening Source Explorer.
- 修正建立工作區的 BUG。Fixed BUG creating workspaces. 建立工作區需要花費一些時間,已移至另一個執行序。The workspace creation takes some time, moved to another thread.
- 已修正從來源瀏覽器啟動 OAuth 對話方塊的 BUG。Fixed BUG launching OAuth dialog from Source Explorer.
- 修正錯誤:如果工作區中沒有任何工作資料夾,從來源瀏覽器新增檔案。Fixed BUG adding new files from Source Explorer if there are not any working folder in the workspace.
- 修正了一些不正確的常值。Fixed some incorrect literals.
- 修正了焦點在 [從原始檔控制開啟] 對話方塊的 BUG。Fixed BUG with focus on Open from Source Control dialog.
- 已修正在建立新的工作區之後,重新整理來源瀏覽器內容的 BUG。Fixed BUG refreshing Source Explorer content after create a new workspace.
0.2.10.2.1
發行日期:2018 年 6 月 11 日Released 6/11/2018
修正 bug:Fixed bugs:
- 修正在某些 TFS 伺服器中偵測專案是否 (效能) 的 BUG。Fixed BUG detecting if a project is in some of the TFS Servers (performance).
0.20.2
發行日期:2018 年 6 月 11 日Released 6/11/2018
實作的增強功能:Implemented enhancements:
- 新驗證流程。New authentication flow.
- 新專案對話方塊,可用以輕鬆管理所有的伺服器、集合和專案。New projects dialog where can easily manage all servers, collections and projects.
- 新增了自動探索伺服器和專案功能。Added auto discover servers and projects functionality.
- 新增了專案篩選。Added project filter.
- 選取要對應之專案路徑的新對話方塊。New dialog where select project paths to map.
- 新增了檔案篩選。Added files filter.
- 新增了對話方塊,用以建立工作區。Added new dialog to create workspaces.
- 新增了選項,用以從現有工作區刪除工作資料夾。Added new option to delete working folders from an existing workspace.
- 包含了更詳細的表單驗證。Included more detailed forms validation.
- 改進了錯誤管理和使用者意見反應。Improved error management and user feedback. 更多詳細訊息。More detailed messages.
- SourceControlExplorer 中的改進:會偵測檔案類型、會顯示特定圖示等。Improvements in SourceControlExplorer: file types are detected and specific icons are displayed, etc.
- 改進了 SourceControlExplorer 中的載入時間。Improved loading times in SourceControlExplorer.
- 在 [設定] 中新增了記錄選項。Added new logs option in the Settings.
- 增益集快取 (設定、權杖等) 中的改進。Improvements in addin cache (settings, tokens, etc).
- 次要 UI 變更和改進 (載入指標等)。Minor UI changes and improvements (loading indicators, etc).
修正 bug:Fixed bugs:
- 修正在某些 TFS 伺服器中使用 NTLM 進行驗證的錯誤。Fixed BUG authenticating in some TFS Servers using NTLM.
- 修正建立工作區快取相關工作區的 BUG。Fixed BUG creating workspaces related to workspaces cache.
- 修正移除專案後重新整理工作區的 BUG。Fixed BUG refreshing workspace after removing a project.
- 修正了在某些情況下重新整理 OAuth 權杖的錯誤。Fixed BUG refreshing OAuth token under some conditions.
- 修正 BUG 變更 Visual Studio 主題和次要 UI 詳細資料。Fixed BUG changing Visual Studio theme and minor UI details.
- 修正了取得工作區擁有者名稱的 BUG。Fixed BUG getting the workspace owner name.
0.1.1 (搶鮮版 (Beta))0.1.1 (Beta)
發行日期:2018 年 5 月 8 日Released 5/8/2018
修正 bug:Fixed bugs:
- 已修正從某些 macOS 版本的 Visual Studio 載入 OAuth Web 程式錯誤。Fixed BUG loading OAuth Webview from some Visual Studio for macOS versions.
0.1 (搶鮮版 (Beta))0.1 (Beta)
發行日期:2018 年 5 月 8 日Released 5/8/2018
實作的增強功能:Implemented enhancements:
- 基本和 OAuth 驗證。Basic and OAuth Authentication.
- 選擇伺服器專案。Choose server projects.
- 建立、編輯和刪除工作區。Create, edit and delete Workspaces.
- SourceControlExplorer。SourceControlExplorer.
- 對應和取得。Map and get.
- 新增了簽出功能。Added checkout functionality.
- 新增了簽入功能。Added checkin functionality.
- 新增了重新命名功能。Added rename functionality.
- 新增了刪除資料夾和檔案功能。Added delete folders and files functionality.
- 新增了鎖定和解除鎖定功能。Added lock and unlock functionality.
- 新增了復原變更功能。Added undo changes functionality.