Visual Studio 2017 平台目标以及兼容性 Visual Studio 2017 Platform Targeting and Compatibility

若要查看最新更新,请访问中文版兼容性页面。To see the latest updates, please visit the English Compatibility page.

Visual Studio 2017 包含许多激动人心的新功能,增强了 IDE 效率,可支持 Windows 应用开发、跨平台移动开发、Azure 开发、Web 和云开发等。Visual Studio 2017 contains many new and exciting features and IDE productivity enhancements to support Windows app development, cross-platform mobile development, Azure development, web and cloud development, and more. 若要试用 Visual Studio 2017,请参阅 Visual Studio 2017 下载To try out Visual Studio 2017, see Visual Studio 2017 Downloads. 有关此版本新增功能的全部信息,请参阅 Visual Studio 2017 发行说明Visual Studio 2017 中的新增功能For more information about everything that's new in this release, see the Visual Studio 2017 release notes and What's New in Visual Studio 2017.

有关 Visual Studio Code 的信息,请参阅 Visual Studio Code 常见问题解答For Visual Studio Code, see Visual Studio Code FAQ.
有关 Visual Studio 2017 for Mac,请参阅 Visual Studio 2017 for Mac 平台目标以及兼容性For Visual Studio 2017 for Mac, see Visual Studio 2017 for Mac Platform Targeting and Compatibility.
有关 Visual Studio 2017 for Mac 发行说明For Visual Studio 2017 for Mac release notes.

安装Installation

安装并使用 Visual Studio 2017 和 Visual Studio 早期版本(包括 Visual Studio 2015、Visual Studio 2013 和 Visual Studio 2012)。You can install and use Visual Studio 2017 alongside previous versions of Visual Studio, including Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012.

下载Download

单击按钮下载最新版 Visual Studio 2017。Click the button to download the latest version of Visual Studio 2017. 有关说明,请参阅安装 Visual Studio 2017For instructions, see Install Visual Studio 2017.

注意:安装包大小会根据当前 Visual Studio 配置而有所不同。Note: Installation package size will vary depending on your current Visual Studio configuration.

系统要求System Requirements

若要了解安装和运行 Visual Studio 2017 系列产品(包括 Team Foundation Server 2017)的系统要求,请参阅 Visual Studio 2017 系统要求页Visual Studio 2017 for Mac 产品系列系统要求For information on the system requirements for installing and running the Visual Studio 2017 family of products, including Team Foundation Server 2017, see the Visual Studio 2017 System Requirement page and Visual Studio 2017 for Mac Product Family System Requirements.

反馈和支持Feedback and Support

有关支持,或要提交有关 Visual Studio 的反馈,请参阅:For support, or to submit feedback on Visual Studio, see:

将项目升级到 Visual Studio 2017Upgrade Projects to Visual Studio 2017

在尊新支持的升级路径进行升级时,Visual Studio 源、解决方案和项目文件将继续正常工作;但是,应该对这些源进行一些更改。When following the supported upgrade paths, your Visual Studio source, solutions, and project files will continue to work; however, you should expect to make some changes to sources. 虽然我们无法保证各版本之间的二进制兼容性,但是会尽量记录重大更改,以帮助你顺利完成更新。While we cannot guarantee binary compatibility between releases, we will do our best to document significant changes to assist you with updates.

备注

有关如何将项目迁移到 Visual Studio 2017 的详细信息,请参阅移植、迁移和升级 Visual Studio 项目For details on how to migrate your projects to Visual Studio 2017, see Porting, Migrating, and Upgrading Visual Studio Projects.

平台目标Platform Targeting

Visual Studio 提供了用于创建应用的先进工具和技术,使应用可充分利用最新的平台功能,包括 Windows、Android、iOS 和 Linux 等平台功能。Visual Studio provides cutting-edge tools and technologies to create apps that take advantage of the latest platform capabilities, whether Windows, Android, iOS, or Linux. Visual Studio 2017 也面向早期版本的平台,因此,可以创建新应用或更新在早期版本的 Windows 上运行的应用,并充分利用 Visual Studio 2017 中增强的开发工具、质量增强功能和团队协作功能。Visual Studio 2017 also targets earlier platforms so you can create new apps or modernize existing apps that execute on earlier versions of Windows while leveraging the enhanced development tools, quality enablement, and team collaboration capabilities in Visual Studio 2017. 有关详细信息,请参阅 Managing references in a project(管理项目中的引用)和 Visual Studio Multi-Targeting Overview(Visual Studio 多目标概述)。For more information, see Managing references in a project and Visual Studio Multi-Targeting Overview.

Visual Studio 2017 对 Windows 开发的支持 Visual Studio 2017 Support for Windows Development

下表介绍了可使用 Visual Studio 2017 在其上生成应用的 Microsoft Windows 平台。The following table explains the Microsoft Windows platforms for which you can build apps by using Visual Studio 2017.

生成可在 Windows 客户端上运行的应用Build Apps that Run on Windows Clients 使用适用于本机和托管经典 Windows 桌面开发的工具Using Tools for Native and Managed Classic Windows Desktop Development 使用适用于 UWP 应用开发的工具Using Tools for UWP App Development
Windows 10Windows 10 Yes
(请参阅下面的注释)(see notes below)
Yes
(请参阅下面的注释)(see notes below)
HoloLensHoloLens No Yes
请参阅 Windows Holographic 开发人员中心See the Windows Holographic Dev Center.
Xbox OneXbox One 不适用Not applicable Yes
请参阅 Xbox 开发人员中心See the Xbox Dev Center.
Windows 8.1 (Windows 8)Windows 8.1 (Windows 8) Yes Windows 应用商店的应用开发不可用。Windows Store app development is not available.
Windows 7Windows 7 Yes 不适用Not applicable
Windows VistaWindows Vista Yes
远程调试和分析工具不可用。Remote debugging and profiling tools are not available.
不适用Not applicable
Windows XPWindows XP Yes
托管开发需要使用 Visual Studio.NET 多目标Managed development requires using Visual Studio .NET multi-targeting. 远程调试和分析工具不可用。Remote debugging and profiling tools are not available.
不适用Not applicable
生成可在 Windows Phone 上运行的应用Build Apps that Run on Windows Phone 使用适用于本机和托管经典 Windows 桌面开发的工具Using Tools for Native and Managed Classic Windows Desktop Development 使用适用于 UWP 应用开发的工具Using Tools for UWP App Development
Windows 10 移动版Windows 10 Mobile No Yes
(请参阅下面的注释)(see notes below)
Windows Phone 8.1 及更早版本Windows Phone 8.1 and earlier No Windows 应用商店的应用开发不可用。Windows Store app development is not available.
生成可在 Windows Server 上运行的应用Build Apps that Run on Windows Server 使用适用于本机和托管经典 Windows 桌面开发的工具Using Tools for Native and Managed Classic Windows Desktop Development 使用适用于 UWP 应用开发的工具Using Tools for UWP App Development
Windows 2016 ServerWindows Server 2016 Yes Yes
(请参阅下面的注释)(see notes below)
Windows Server 2016,Nano 服务器安装选项Windows Server 2016, Nano Server Installation Option 是的,适用于 .NET Core 和 Win32 子集Yes, for .NET Core and a subset of Win32
请参阅 Nano 服务器开发人员中心See the Nano Server Dev Center.
No
Windows Server 2012 R2Windows Server 2012 R2 Yes Windows 应用商店的应用开发不可用。Windows Store app development is not available.
Windows Server 2012Windows Server 2012 Yes Windows 应用商店的应用开发不可用。Windows Store app development is not available.
Windows Server 2008 R2Windows Server 2008 R2 Yes 不适用Not applicable
Windows Server 2008Windows Server 2008 Yes
远程调试和分析工具不可用。Remote debugging and profiling tools are not available.
不适用Not applicable
Windows Server 2003Windows Server 2003 Yes
远程调试和分析工具不可用。Remote debugging and profiling tools are not available. 托管开发需要使用 Visual Studio.NET 多目标和并行安装 Visual Studio 2010。Managed development requires using Visual Studio .NET multi-targeting and requires side-by-side installation of Visual Studio 2010. 有关详细信息,请参阅 A Look Ahead at the Visual Studio 2012 Product Lineup and Platform Support(Visual Studio 2012 产品系列和平台支持介绍)。For more information, see: A Look Ahead at the Visual Studio 2012 Product Lineup and Platform Support.
不适用Not applicable
生成可在 Windows 嵌入式设备上运行的应用Build Apps that Run on Windows Embedded Devices 使用适用于本机和托管经典 Windows 桌面开发的工具Using Tools for Native and Managed Classic Windows Desktop Development 使用适用于 UWP 应用开发的工具Using Tools for UWP App Development
Windows 10 IoT 核心版Windows 10 IoT Core 是的,适用于 Win32 API 的子集Yes, for a subset of Win32 APIs
了解详细信息,请参阅 IoT Core API 移植工具See the IoT Core API Porting Tool for information.
Yes
有关其他工具和资源的详细信息,请参阅 Windows IoT 开发人员中心See the Windows IoT Dev Center for additional tools and resources.
Windows 10 IoT 移动企业版Windows 10 IoT Mobile Enterprise No Yes
有关其他工具和资源的详细信息,请参阅 Windows IoT 开发人员中心See the Windows IoT Dev Center for additional tools and resources.
Windows 10 IoT 企业版Windows 10 IoT Enterprise Yes
有关其他工具和资源的详细信息,请参阅 Windows IoT 开发人员中心See the Windows IoT Dev Center for additional tools and resources.
Yes
有关其他工具和资源的详细信息,请参阅 Windows IoT 开发人员中心See the Windows IoT Dev Center for additional tools and resources.
Windows Embedded 8 Standard 和 8.1 IndustryWindows Embedded 8 Standard and 8.1 Industry Yes No
Windows Embedded Compact 2013Windows Embedded Compact 2013 No 不适用Not applicable
Windows Embedded 7(Compact、Standard 和 POSReady)Windows Embedded 7 (Compact, Standard, and POSReady) No 不适用Not applicable
Windows Embedded CE 6.0 及更早版本Windows Embedded CE 6.0 and earlier No 不适用Not applicable
Windows XP Embedded(包括 POSReady 2009、WES 2009 和 WEPOS)Windows XP Embedded (Including POSReady 2009, WES 2009, WEPOS) No 不适用Not applicable

备注Notes

Visual Studio 2017 支持 .NET 开发 Visual Studio 2017 Support for .NET Development

Visual Studio 2017 支持开发使用任何 .NET 实现的应用。Visual Studio 2017 supports development of apps that use any of the .NET implementations. 在工作负载和项目类型中,支持 .NET Framework、.NET Core、Mono 和适用于通用 Windows 平台 (UWP) 的 .NET Native。Among the workloads and project types, you can find support for .NET Framework, .NET Core, Mono, and .NET Native for Universal Windows Platform (UWP). Visual Studio 2017 支持以下实现:Visual Studio 2017 supports the following implementations:

备注

若要详细了解其中每个实现和常见 API 规范 .NET Standard,请参阅 .NET 体系结构组件For more information on each of these implementations, and on the common API specification .NET Standard, see .NET architectural components.

Visual Studio 2017 对 Android 开发的支持 Visual Studio 2017 Support for Android Development

Visual Studio 2017 可生成本机 Android 应用(使用 Xamarin 和 C# 或使用 Java/C++)和混合 Android 应用(使用 Apache Cordova 6.3.1和 JavaScript 及 TypeScript)。Visual Studio 2017 enables you to build native Android apps using Xamarin and C# or using Java/C++, and hybrid Android apps using Apache Cordova 6.3.1 and JavaScript and TypeScript. 使用 Visual Studio Tools for Unity 和虚幻引擎可进行 Android 游戏开发。The Visual Studio Tools for Unity and the Unreal Engine enable Android game development. 还可使用 Visual Studio for Mac 和 Mac 构建 Android 应用。You can also use Visual Studio for Mac to build Android apps using a Mac.

你可以使用 Visual Studio 安装程序轻松获得 Android SDK 和 Android API 19、21、22 和 23 级。You can use Visual Studio setup to easily obtain the Android SDK and Android API levels 19, 21, 22, and 23. 你可以使用 Android SDK Manager 单独下载其他 API 级别。You can download additional API levels separately using the Android SDK Manager. 也可以使用 Visual Studio 安装程序获取 Android 本机开发工具包 (R10E)、Java SE 开发工具包和 Apache Ant。You can also use Visual Studio Setup to obtain the Android Native Development Kit (R10E), Java SE Development Kit, and Apache Ant.

有关详细信息,请参阅使用 Visual Studio 进行的 Android 开发移动应用开发For more information, see Android development with Visual Studio and Mobile App Development.

备注

若要了解 Android .NET 开发,请参阅 .NET 体系结构组件For information on .NET development for Android, see .NET architectural components.

Visual Studio 2017 对 iOS 开发的支持 Visual Studio 2017 Support for iOS Development

使用 remotebuild、vcremote、Visual Studio Tools for Unity 或 Xamarin Mac 代理时,通过使用 Apache Cordova、C++、Unity 或 Xamarin 和为 iOS 开发而配置的 Mac,Visual Studio 2017 可生成和调试适用于 iOS 的应用。Visual Studio 2017 enables you to build and debug apps for iOS by using Apache Cordova, C++, Unity, or Xamarin and a Mac configured for iOS development when using remotebuild, vcremote, the Visual Studio Tools for Unity, or the Xamarin Mac Agent. Xamarin 支持 iOS 7 及更高版本,且需要 OS X 10.10“Yosemite”或更高版本。Xamarin supports iOS 7 and higher, and requires OS X 10.10 "Yosemite" or higher. Apache Cordova 支持 iOS 8 及更高版本,且需要 OS X 10.9“Mavericks”及更高版本。Apache Cordova supports iOS 8 and higher, and requires OS X 10.9 "Mavericks" and higher. 还可使用 Visual Studio for Mac 和 Mac 构建 iOS 应用。You can also use Visual Studio for Mac to build iOS apps using a Mac.

备注

有关详细信息,请参阅 Visual Studio 中的跨平台移动开发.For more information, see Cross-platform mobile development in Visual Studio. 若要了解 iOS .NET 开发,请参阅 .NET 体系结构组件For information on .NET development for iOS, see .NET architectural components.

Visual Studio 2017 对 Linux 开发的支持 Visual Studio 2017 Support for Linux Development

使用 C++、 Python 和 Node.js,Visual Studio 2017 可生成和调试适用于 Linux 的应用。Visual Studio 2017 enables you to build and debug apps for Linux using C++, Python, and Node.js. 创建适用于 Linux 的 C++ 应用需要适用于 Linux 开发扩展的 Visual C++。Creating C++ apps for Linux requires the Visual C++ for Linux Development extension. 使用 Python 或 Node.js 创建应用时要求启用目标 Linux 计算机上的远程调试。Creating apps with Python or Node,js, requires that you enable remote debugging on the target Linux machine. 你还可以使用现代语言(如 C#、VB 和 F# 等),创建、生成并远程调试 Linux 的 .NET Core 和 ASP.NET Core 应用。You can also create, build and remote debug .NET Core and ASP.NET Core applications for Linux using modern languages such as C#, VB and F#.

备注

若要了解 Linux .NET 开发,请参阅 .NET 体系结构组件For information on .NET development for Linux, see .NET architectural components.

  • CentOS 7.1 和 Oracle Linux 7.1CentOS 7.1 and Oracle Linux 7.1
  • Debian 8Debian 8
  • Fedora 23Fedora 23
  • Linux Mint 17Linux Mint 17
  • openSUSE 13.2openSUSE 13.2
  • Red Hat Enterprise Linux 7.2Red Hat Enterprise Linux 7.2
  • Ubuntu 14.04 和 16.04Ubuntu 14.04 and 16.04

备注

有关详细信息,请参阅 https://dot.net/coreFor more information see https://dot.net/core.

Visual Studio 2017 对 macOS 开发的支持 Visual Studio 2017 Support for macOS Development

Visual Studio 2017 可生成控制台应用程序和面向 macOS 的 ASP.NET 应用程序。Visual Studio 2017 enables you to build console applications and ASP.NET applications that target macOS. 但不支持调试。However, debugging is not supported. 有关其他 macOS 开发工具选项,请试用 Visual Studio Code 或 Visual Studio for Mac。For additional macOS development tools choices, try Visual Studio Code or Visual Studio for Mac. Visual Studio Code 提供针对 macOS 的简化且可扩展的开发人员工具体验。Visual Studio Code provides a streamlined, extensible developer tool experience for macOS. Visual Studio for Mac 提供功能丰富的 IDE,可用于借助 C# 构建本机 macOS 应用(例如 ASP.NET)。Visual Studio for Mac provides a feature-rich IDE that enables you to build native macOS apps, including ASP.NET, using C#.

备注

若要了解 MacOS .NET 开发,请参阅 .NET 体系结构组件For information on .NET development forMacOS, see .NET architectural components.

其他平台和技术 Other Platforms and Technologies

Visual Studio 2017 还支持以下平台和技术。Visual Studio 2017 also supports the following platforms and technologies. 有关详细信息,请参阅 https://www.visualstudio.com/vs/features/For more information, see https://www.visualstudio.com/vs/features/.

与早期版本的兼容性Compatibility with Previous Releases

.NET Framework.NET Framework

.NET 4.7 是 .NET 4、4.5、4.5.1、4.5.2、4.6、4.6.1 和 4.6.2 的高度兼容就地更新版。.NET 4.7 is is a highly compatible in-place update of .NET 4, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, and 4.6.2.

备注

有关详细信息,请参阅 .NET Framework 4.7、4.6 和 4.5 的迁移指南For more information, see the Migration Guide to the .NET Framework 4.7, 4.6, and 4.5.

团队资源管理器 和 Team Foundation ServerTeam Explorer and Team Foundation Server

Visual Studio 2017 的团队资源管理器将连接到 Team Foundation Server 2017、Team Foundation Server 2015、Team Foundation Server 2013、Team Foundation Server 2012 和 Team Foundation Server 2010 SP1。Team Explorer for Visual Studio 2017 will connect to Team Foundation Server 2017, Team Foundation Server 2015, Team Foundation Server 2013, Team Foundation Server 2012, and Team Foundation Server 2010 SP1.

SilverlightSilverlight

此版本的 Visual Studio 不支持 Silverlight 项目。Silverlight projects are not supported in this version of Visual Studio. 若要继续使用 Silverlight 应用程序,请继续使用 Visual Studio 2015。To maintain Silverlight applications, continue to use Visual Studio 2015.

Windows 应用商店和 Windows Phone 应用Windows Store and Windows Phone apps

此版本不支持 Windows 8.1 和 8.0 应用商店项目,也不支持 Windows Phone 8.1 和 8.0。Projects for Windows Store 8.1 and 8.0, and Windows Phone 8.1 and 8.0 are not supported in this release. 若要继续使用这些应用,请继续使用 Visual Studio 2015。To maintain these apps, continue to use Visual Studio 2015. 若要继续使用 Windows Phone 7.x 项目,请使用 Visual Studio 2012。To maintain Windows Phone 7.x projects, use Visual Studio 2012.


返回页首
Top of Page