Visual Studio 2017 for Mac 7.4 版 Visual Studio 2017 for Mac version 7.4


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


注意

如果您是從非英文語言版本的頁面存取此頁面,並想查看最新的內容,請瀏覽此版本資訊頁面的英文版本。If you are accessing this page from a non-English language version, and want to see the most up-to-date content, please visit this Release Notes page in English.

提示

您可以在此頁面的底部切換頁面語言。You can switch the page language at the bottom of this page. 按一下Click the 圖示,搜尋您的語言,或從可用語言的清單中選取。 icon, search for your language, or select from the list of available languages.


使用 Visual Studio 2017 for Mac 建置下列項目的應用程式:行動裝置、Web 與使用 Xamarin 和 .NET Core 的雲端,以及使用 Unity 的遊戲。Use Visual Studio 2017 for Mac to build apps for mobile, web, and the cloud with Xamarin and .NET Core, as well as games with Unity.

下載 Visual Studio for Mac 2017 的目前版本Download the Current Release of Visual Studio for Mac 2017

Download Visual Studio 2017 for Mac

若要深入了解 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.

意見反應Feedback

請提供您的意見!We’d love to hear from you! 您可以透過 Visual Studio for Mac IDE 中的回報問題選項來回報問題,然後在開發人員社群 (英文) 入口網站中追蹤您的意見反應。You can report a problem via the Report a Problem option the Visual Studio for Mac IDE and track your feedback in the Developer Community portal. 如需建議,請透過 UserVoice 告訴我們。For suggestions, let us know through UserVoice.

發行記錄Release History


2018 年 3 月 5 日 - Visual Studio 2017 for Mac 7.4 (7.4.0.1033)March 5, 2018 - Visual Studio 2017 for Mac 7.4 (7.4.0.1033)

針對 Visual Studio for Mac 7.4 版,我們著重於修正一些已向我們回報的記憶體流失、效能問題和穩定性問題。For the Visual Studio for Mac 7.4 release, we've taken time to focus on fixing some of the top memory leaks, performance problems, and stability issues that have been reported to us. 此版本也加入對 Android Oreo 8.1 開發的支援,以及數個適用於 Xamarin 開發人員的生產力增強功能。This release also brings support for Android Oreo 8.1 development and several productivity enhancements for Xamarin developers.

版本焦點內容Release Highlights

  • 現已正式支援 macOS High Sierra。macOS High Sierra is now officially supported.
  • 支援 Xcode 9.3。Support for Xcode 9.3.
  • 現已支援 C# 7.1 (請參閱 C# 7.1 的新功能)。C# 7.1 is now supported (see what's new in C# 7.1).
  • Android 8.1 Oreo 的支援。Support for Android 8.1 Oreo.
  • 適用於 Xamarin.iOS 的無線部署和偵錯。Wireless deployment and debugging for Xamarin.iOS.
  • 針對 C# 編輯器進行核心架構變更,進而改善 IntelliSense 效能/可靠性和鍵入的回應性。Core architectural changes were made to the C# editor; both IntelliSense performance/reliability and typing responsiveness are improved as a result.

本版已修正的問題Issues fixed in this release

版本詳細資訊Release in Detail

  • 新增 [編輯] > [切換至建議模式] 功能表,以在 IntelliSense 建議模式和完成模式之間切換。Added an Edit > Switch to Suggestion Mode menu, to toggle between IntelliSense suggestion mode and completion mode. 在建議模式中,IntelliSense 自動完成建議將不會覆寫您已撰寫的文字,除非您手動從 IntelliSense 建議清單選擇它們。In suggestion mode, IntelliSense auto-complete suggestions will not override the text you've written unless you manually choose them from the IntelliSense suggestion list. 若要切換回完成模式,您可以選擇 [編輯] | [切換至完成模式] 功能表。To switch back to Completion Mode you can choose the Edit | Switch to Completion Mode menu. 如果您是使用 Visual Studio (混合) 或 Visual Studio (Windows) 按鍵繫結關係配置,已提供預設的 Ctrl+Alt+空格鍵鍵盤快速鍵。A default keyboard shortcut of Ctrl+Alt+Space is provided if you're using Visual Studio (Mixed) or Visual Studio (Windows) key binding schemes.

  • 已新增 Cmd+Shift+P 快速鍵,可開啟 [巡覽至] 搜尋方塊,篩選之後即可根據您目前的內容來尋找可用的命令。Added a Cmd+Shift+P shortcut that will open the Navigate To search box, filtered so you can search for available commands based on your current context.

Debug source files option
(圖 1) 命令篩選(Figure 1) Command Filtering
  • 偵錯工具原始程式查閱。Debugger source lookup.

    • 新增方案選項中 [偵錯原始程式檔] 索引標籤的支援 (圖 2)。Added support for the Debug Source Files tab in solution options (Figure 2). 為了保持 UI 簡潔,新增第一個資料夾之後才會顯示此功能表。To keep the UI clean, this menu appears only after you add the first folder.

      Debug source files option
      (圖 2) [偵錯原始程式檔] 選項(Figure 2) Debug source files option
    • 如果您嘗試巡覽到堆疊框架或逐步執行方法,而偵錯工具找不到原始程式檔,則會顯示新的 [找不到原始碼] 文件 (圖 3)。If you try to navigate to a stack frame or step into a method and the debugger doesn't find source files, a new Source Not Found document (Figure 3) is shown. 本文件協助提供一些選項,以找出原始程式檔 (如果您擁有它們)。This document helps to provide some options to locate source files if you have them. 當您正在對在 CI 上編譯且使用者有原始程式檔和 .pdb 檔存取權的組件進行偵錯時,這非常有用。This is useful when debugging assemblies that were compiled on CI and user has access to source files and .pdb file.

      New 'source not found' dialog
      (圖 3) 新的 [找不到原始碼]"" 對話方塊(Figure 3) New "source not found" dialog
  • 檔案監看員會偵測新增到專案的檔案。File watcher to detect files added to the project.

    Visual Studio for Mac 現在會偵測新增到 .NET Core 專案或從其中移除的檔案,然後動態地更新 [方案] 視窗以反映變更。Visual Studio for Mac will now detect files added to or removed from a .NET Core project and update the Solution window with the changes dynamically. 此改進解決了在開發人員社群中回報的 EF 移轉之後需要卸載/重新載入的問題。This improvement addressed the unload/reload required after EF migrations issue reported in the Developer Community.

  • 針對 .userprefs 使用 .vs 目錄Use .vs directory for .userprefs

    • 為了改進在 Windows 上與 Visual Studio 之間的相容性,Visual Studio for Mac 產生的使用者喜好設定檔案已經不再儲存於方案目錄中,而改為儲存在 .vs/SolutionName/xs/UserPrefs.xml 中。To improve compatibility with Visual Studio on Windows the user preferences file generated by Visual Studio for Mac are no longer stored in the solution directory but are now stored in .vs/SolutionName/xs/UserPrefs.xml.

XamarinXamarin

  • 我們不再支援 Visual Studio for Mac 中的 [上傳到 Xamarin Test Cloud] 功能 (透過在單元測試樹狀目錄上按一下滑鼠右鍵來叫用)。We no longer support the “Upload to Xamarin Test Cloud” function in Visual Studio for Mac (invoked by right-clicking the Unit test tree). 此後,測試可以透過 Visual Studio App Center CLI 提交。Moving forwards tests can be submitted through the Visual Studio App Center CLI.

  • 我們已經移除 IDE 中元件的支援。We have removed the support for components in IDE. 如果您開啟具有已經被參考之元件的專案,您將會遇到錯誤。If you open a project that has components already referenced, you will be met with an error. 若要修正此錯誤,您必須手動編輯 .csproj 檔並移除 <XamarinComponentReference/> 標籤中的所有資訊。The fix this error, you must edit the .csproj file manually and remove all information in the <XamarinComponentReference/> tags. 如需詳細資訊,請參閱元件移轉指南 (英文)。For more information see the Components migration guide.

iOSiOS

  • 我們已經新增對 iOS 或 AppleTV 裝置進行無線部署和偵錯的支援。We've added support for wireless deployment and debugging for iOS or AppleTV devices. 當裝置已連線到網路並準備好用於部署時,它現在會出現在裝置目標清單中,彷彿裝置是透過 USB 所連線的。When a device is connected via a network and ready to be used for deployment, it now shows up in the device target list, as if the device were connected through USB. (圖 4):(Figure 4):

    Apple device connected over Wi-Fi selected in device list
    (圖 4) 透過網路連線的 Apple 裝置顯示在裝置清單中(Figure 4) Apple device connected over a network is displayed in device list

    如需此功能的詳細資訊,請參閱無線部署指南。For more information on this feature, see the Wireless Deployment guide.

  • Visual Studio for Mac 現在會在啟動應用程式之前要求先將裝置解除鎖定 (圖 5),而且不會中斷偵錯工作階段:Visual Studio for Mac now asks to unlock the deployment device before launching the app (Figure 5) and does not interrupt the debugging session:

    Alert advising user to unlock iOS device
    (圖 5) 警示建議使用者將 iOS 裝置解除鎖定(Figure 5) Alert advising user to unlock iOS device
  • Visual Studio for Mac 現在會於 CoreML 模型新增到專案時,為它自動產生 C# 繫結,這樣 CoreML 模型的使用方式就更快速且容易。Visual Studio for Mac now auto-generates C# bindings for CoreML models when they are added to a project allowing for quick and easy usage of CoreML models.

  • 佈建的改進功能:Provisioning Improvements:

    • 此版本引進更好的 fastlane 安裝工作流程。This release introduces a better fastlane installation workflow. 如果未安裝 fastlane,我們提供讓您在 IDE 中安裝 fastlane 的方式,而不是顯示錯誤對話方塊要求您閱讀佈建文件並進行安裝。If fastlane is not installed, instead of showing an error dialog asking you to read the provisioning documentation and install fastlane, we provide a way to do it within the IDE.
    • 根據網際網路速度和電腦參數,安裝可能需要長達兩分鐘。Depending on the internet speed and computer parameters the installation can take up to two minutes. 基於此原因,為了方便起見,系統會在背景下載 fastlane。For this reason, fastlane will be downloaded in the background for your convenience.
    • 我們對 Info.plist 編輯器中的自動佈建小工具做了數個 UI 改進。We made a number of UI improvements to the automatic provisioning widget in Info.plist editor. 新的小工具明確區分手動佈建和自動佈建模式,並且向使用者傳達佈建狀態。The new widget draws a definite distinction between manual and automatic provisioning modes and communicates provisioning status to the user.

AndroidAndroid

Android 8.1 Oreo 是 Google 提供的最新 Android 版本。Android 8.1 Oreo is the latest version of Android available from Google. Android 8.1 Oreo 提供許多 Xamarin.Android 開發人員感興趣的功能,例如 Android Go、Neural Networks API、Autofill Framework 更新、SharedMemory API 等。Android 8.1 Oreo offers many new features of interest to Xamarin.Android developers such as Android Go, Neural Networks API, Autofill Framework updates, SharedMemory API, and many more. 當您使用 Xamarin.Android 8.2 和更新版本時,這些 API 可供 Xamarin.Android 應用程式使用。These APIs are available to Xamarin.Android apps when you use Xamarin.Android 8.2 and later.

  • 我們為已安裝 SDK Tools 26 的使用者新增了 Xamarin Android 裝置管理員 (預覽) 的整合。We've added integration for the Xamarin Android Device Manager (preview) for users with SDK Tools 26 installed. 如需詳細資訊,請參閱文件For more information, refer to the documentation.

  • 如果 Android 模擬器沒有使用 HAXM,系統現在會警告您。You'll now be warned if the Android emulator is not using HAXM.

視覺化設計工具Visual Designers

iOS 設計工具iOS Designer
  • 限制式模式按鍵繫結關係Constraints Mode Key Bindings:

    新的按鍵繫結關係讓新的限制式模式 (在 15.5 中引進) 更易於使用。New key bindings make it easier to work with the new constraints mode (introduced in 15.5). 例如: For example:

    • 切換限制式模式:⌘ EToggle constraints mode: ⌘ E
    • 暫時啟用限制式模式:按住 ⌃Temporarily enable constraints mode: Hold ⌃
    • 在限制式模式中,更新限制式,否則更新框架:⇧ ⌘ RIn constraints mode, update constraints; else update frames: ⇧ ⌘ R
  • 現在可以針對 tvOS 啟用特徵變化 (Trait Variations)Trait Variations can now be enabled for tvOS :

    現在可以針對 tvOS 腳本和 XIB 啟用特徵變化,這會啟用根據淺色樣式或深色樣式的變化。Trait variations can now be enabled for tvOS storyboards and XIBs, which enables variation by light style or dark style.

  • 從工具箱拖曳大的項目時自動縮小Automatic Zoom Out when dragging large items from the Toolbox:

    當您從工具箱拖曳大的項目時,設計介面現在會自動縮小。The design surface now automatically zooms out when you drag a large item from the toolbox. 這樣在您的 XIB 或腳本上放置大的項目會變得更容易。This makes it easier to place large items on your XIB or storyboard.

  • 縮放指標和選取器Zoom Indicator and Selector:

    指出目前的縮放層級百分比,並且能夠從快顯清單中選取縮放層級。Indicates current zoom level percentage and enables selecting zoom levels from a pop up list.

Android 設計工具Android Designer
  • Android 資源剖析和處理在此版本中已經大幅改造,進而提升效能和面板整體的精確度。Android resource parsing and processing has been vastly revamped in this release resulting in increased performance and accuracy across the board.
  • 新增 Android Oreo (API 26) 轉譯支援。Added Android Oreo (API 26) rendering support.
  • 現已支援自訂字型和自適性圖示等 Oreo 功能。Oreo features like custom fonts and adaptive icons are now supported.
  • 轉譯速度改進。Rendering speed improvements.
  • 已改進 IntelliSense 完成體驗。Improved IntelliSense completion experience.

Xamarin.FormsXamarin.Forms

我們已修正數個錯誤,以改進 XAML 編輯:We fixed a number of bugs to improve XAML editing:

  • [已修正] 在 XML/XAML 編輯器中,當按下 ENTER 將屬性新增到元素時,vs/vsmac 之間不一致的行為。[FIXED] Inconsistent behavior in XML/XAML editor between vs/vsmac when hitting "ENTER" in to add a new attribute to an element.
  • [已修正] 完成功能中遺失的許多元素:ResourceDictionary、x:Double、x:Key 等。[FIXED] Many elements are missing from completion: ResourceDictionary, x:Double, x:Key etc.
  • [已修正] 在名稱中輸入句號之後沒有 IntelliSense。[FIXED] No IntelliSense after typing period in name.
  • [已修正] IntelliSense 中遺漏一個平台。[FIXED] One Platform is missing from IntelliSense.
  • [已修正] Tab 鍵插入空格,縮排鍵插入定位點。[FIXED] Tab key inserts spaces, indenter inserts tabs.
  • [已修正] XAML IntelliSense 依名稱長度排序列出元素屬性。[FIXED] XAML IntelliSense lists element properties sorted by length of name.

Xamarin Workbooks 和安裝程式Xamarin Workbooks and Installer

我們已經將 Xamarin Inspector 完全從 Xamarin Workbooks 分離。We have fully split Xamarin Inspector from Xamarin Workbooks. Inspector 延伸模組已不再需要 Workbooks 才能運作。The Inspector extension no longer requires a Workbooks installation to function.

所有 Xamarin 產品版本資訊All Xamarin Product release notes


2018 年 3 月 26 日 - Visual Studio 2017 for Mac 7.4.1 (7.4.1.48)March 26, 2018 - Visual Studio 2017 for Mac 7.4.1 (7.4.1.48)


2018 年 4 月 3 日 - Visual Studio 2017 for Mac 7.4.2 (7.4.2.12)April 3, 2018 - Visual Studio 2017 for Mac 7.4.2 (7.4.2.12)

此版本包含 Xcode 9.3 的支援,並解決下列問題:This release includes support for Xcode 9.3 and addresses the following issues:


2018 年 4 月 18 日 - Visual Studio 2017 for Mac 7.4.3 (7.4.3.10)April 18, 2018 - Visual Studio 2017 for Mac 7.4.3 (7.4.3.10)

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


Visual Studio 2017 for Mac 的已知問題Visual Studio 2017 for Mac Known Issues


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

Visual Studio 2017 for Mac 7.3 版的版本資訊Visual Studio 2017 for Mac version 7.3 Release Notes

Visual Studio 2017 for Mac 7.2 版的版本資訊Visual Studio 2017 for Mac version 7.2 Release Notes

Visual Studio 2017 for Mac 7.1 版的版本資訊Visual Studio 2017 for Mac version 7.1 Release Notes

Visual Studio 2017 for Mac 7.0 版的版本資訊Visual Studio 2017 for Mac version 7.0 Release Notes


頁面頂端
Top of Page