Visual Studio Icon Visual Studio 2017 15.7 版发行说明Visual Studio 2017 version 15.7 Release Notes


| 开发者社区 | 系统要求 | 兼容性 | 可分发代码 | 许可条款 | 博客 | 已知问题 || Developer Community | System Requirements | Compatibility | Distributable Code | License Terms | Blogs | Known Issues |


备注

如果正在从一个非英语的语言版本访问此页,并想要查看最新内容,请访问此“发行说明”页(英文版)。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 change the language of this page by clicking the globe icon in the page footer and selecting your desired language.


单击按钮即可下载最新版 Visual Studio 2017。Click a button to download the latest version of Visual Studio 2017. 有关如何安装和更新 Visual Studio 2017 的说明,请参阅将 Visual Studio 2017 更新到最新版本For instructions on installing and updating Visual Studio 2017, see Update Visual Studio 2017 to the most recent release. 另请参阅如何脱机安装的说明。Also, see instructions on how to install offline.


15.7 版中的新增功能What's New in 15.7

可从 Visual Studio 博客获取来自 Visual Studio 工程团队的官方产品见解。The Visual Studio Blog is the official source of product insight from the Visual Studio Engineering Team. 可在以下文章中找到有关 Visual Studio 15.7 版的详细信息:You can find in-depth information about the Visual Studio 15.7 releases in the following posts:

Visual Studio 2017 15.7 版发布Visual Studio 2017 version 15.7 Releases

Visual Studio 2017 15.7 版公告Visual Studio 2017 version 15.7 Announcements

15.7 版中的显著新增功能摘要Summary of Notable New Features in 15.7


15.7 版中解决的首要问题Top Issues Fixed in 15.7

15.7 版中解决了客户报告的下列问题:These are the customer-reported issues addressed in 15.7:

请参阅 Visual Studio 2017 15.7 版中所有已解决的客户所报问题。See all customer-reported issues fixed in Visual Studio 2017 version 15.7.

The Developer Community Portal


15.7 版中的最近更新详情Details of What's New in 15.7

Release Notes Icon Visual Studio 2017 15.7.0 版Visual Studio 2017 version 15.7.0

发布日期:2018 年 5 月 7 日released on May 07, 2018

15.7 版中的新增功能New Features in 15.7

性能Performance

  • 该版本中的 C# 和 VB 项目解决方案加载时间平均缩短了 20%。In this release, we improved solution load time for C# and VB projects by an average of 20%.
  • 大型 .NET Core 项目中加载 IntelliSense 的时间减少了 25%。In large .NET Core projects, we reduced the time to load IntelliSense by 25%.
  • 在 Git 中切换分支时,如果无需重载解决方案和项目,则会移除模式进度对话框。When switching branches in Git, the modal progress dialog has been removed when solutions and projects do not need to be reloaded.

安装 Visual StudioInstalling Visual Studio

  • 更新对话框可提供有关更新的更多详细信息,例如更新内容、下载大小和最近更新版本。The update dialog provides more details about your update, such as what's new, the download size, and the latest update version.
  • 改进后的保存体验:更新 Visual Studio 前,会先在本地保存所有挂起的更改,然后再开始更新。Improved save experience: Before you update Visual Studio, all pending changes will be saved locally first -- before starting the update. 更新对话框将显示“全部保存并更新”按钮,而不是“立即更新”。The update dialog, will show a Save All & Update button instead of Update Now.
  • 将下载缓存、共享组件、部分 SDK 和工具移动到不同的驱动器,从而减少了系统驱动器上的安装痕迹(图 1)。We reduced the installation footprint on the system drive by moving the download cache, shared components, some SDKs, and tools to different drives (Figure 1).
Install Locations
(图 1)选择安装位置(Figure 1) Choose install locations

可以管理三个位置,并且智能通过第一次安装设置这些位置:There are three locations you can manage, and these locations can only be set with your very first installation:

  • Visual Studio 核心产品: 此位置用于你选择安装的 Visual Studio 版本的特定文件。Visual Studio core product: This location is for files that are specific to the version of Visual Studio you selected to install.
  • 下载缓存: 该位置用于保存下载的安装文件和清单。Download cache: Installation files and manifests will be downloaded to this location. 如果决定不保存下载缓存,可取消勾选此复选框,这些文件将在安装完成之后删除。If you decide not to keep the download cache by unchecking the check box, the files will be removed after installation completes.
  • 共享组件、工具和 SDK: 该位置用于保存 Visual Studio 并行安装共享的文件。Shared components, tools, and SDKs: This location is for files that are shared by side-by-side Visual Studio installations.

备注

如果工具和 SDK 对其安装位置具有不同的规则,它们不会安装到此驱动器。Tools and SDKs that have different rules as to where they are installed, won’t be installed to this drive. 工具/SDK 特定规则优先。The tool/SDK specific rules take precedence.

备注

用户可禁用包缓存并设置该位置。Users can disable the package cache and set the location.

Visual Studio IDEVisual Studio IDE

指示长时间运行的操作使 Visual Studio 一直处于忙碌状态的对话框窗口(图 2)现在可使用屏幕阅读器(例如,NVDA 讲述人等)访问。The dialog window (Figure 2) that indicates which long running operation is keeping Visual Studio busy, is now screen reader accessible (for example, NVDA, Narrator, etc.). 通过 Visual Studio 显示此对话框时,屏幕阅读器会播放一则音频提示,指示屏幕上看到的新信息。When the dialog is shown by Visual Studio, the screen reader plays an audio cue indicating new information is visible on the screen. 用户可通过调用讲述人中的“更改视图”命令来读取对话框内容或在“取消”按钮可用时与之交互。Users can read the contents of the dialog or interact with the Cancel button when available by invoking the Change View command in Narrator.

Wait dialog
(图2)正在加载对话框窗口,现可访问屏幕阅读器(Figure 2) Loading dialog window, now screen reader accessible

备注

要获取讲述人支持的完整信息,必须使用 Windows 10 Redstone 4 (RS4) 版本。For full Narrator support, you must be using Windows 10 Redstone 4 (RS4) builds.

Visual C++ 改进Visual C++ Improvements

  • 该版本包含对 PDB 文件中的本地信息泄露漏洞的修复,如 CVE-2018-1037 所述。This release contains a fix for a local information disclosure vulnerability in PDB files as described in CVE-2018-1037.
  • C5045 是新的编译器诊断,可帮助查看代码模式,编译器可能已在其中插入 Spectre 缓解。C5045 is a new compiler diagnostic that lets you see code patterns where the compiler would have inserted a Spectre mitigation.
  • Visual Studio 附带的 CMake 安装已从 3.10 升级到 3.11。Visual Studio's bundled CMake installation has been upgraded from 3.10 to 3.11.
  • CMake 项目支持 C++ 代码(例如 VCXProj)的静态分析。CMake projects support static analysis of C++ code, such as VCXProj.
  • MSVC 支持 C++17 功能 P0426R1 "constexpr for std::char_traits",这使得 std::string_view much 在编译时变得更可用。MSVC supports the C++17 feature P0426R1 "constexpr for std::char_traits," which makes std::string_view much more usable at compile time.
  • 使用每个单元测试上的 CodeLens 来运行、调试和查看测试状态(图 3)。Use CodeLens above each of your unit tests to Run, Debug, and view Test Status (Figure 3).
Use CodeLens above each of your unit tests
(图 3)使用每个单元测试上的 CodeLens(Figure 3) Use CodeLens above each of your unit tests
  • 已更新适用于 C++ 的 Visual Studio iOS 开发工具,以便使用 Xcode 9。We updated the Visual Studio iOS development tools for C++ to work with Xcode 9.
  • 将 /analyze:ruleset 选项添加到了 cl.exe,以便基于规则集配置在 C++ 代码分析工具中向下筛选警告。We added /analyze:ruleset option to cl.exe for filtering down warnings in the C++ Code Analysis tools based on ruleset configuration. 这样做可以在编译器和 IDE 的独立调用之间实现一致的体验,并通过仅运行规则集中提到的规则提高性能。This results in a consistent experience between standalone invocations of the compiler and the IDE and improves performance by running only the rules mentioned in ruleset.
  • 现在继承构造函数的结果和继承任何其他基类成员的结果都一样。Inheriting a constructor now works the same as inheriting any other base class member. 以前,这通过声明委托给原始构造函数的新构造函数来实现的,因为此项更改,基类构造函数在派生类中可见,就好像它们是派生类函数一样,从而提高在 C++ 中的一致性。Previously, this worked by declaring a new constructor that delegates to the original; with this change, base class constructors are visible in a derived class as if they were derived class constructors, improving consistency in C++.
  • 旨在采用任意类型作为非类型参数的模板现在可以使用模板参数列表中的 auto 关键字。Templates that are designed to take any type as a non-type parameter can now use the auto keyword in the template parameter list. 这允许实例化使用任何类型,而不用在实例化时需要确定和提供模板参数的类型。This allows instantiations to use any type instead of needing to determine and supply the type of template parameter at the point of instantiation.
  • 现在支持 std::launderstd::launder is now supported.
  • 在几乎所有情况下,两阶段名称查找都能正确运行。Two-phase name lookup operates correctly in almost all cases. 在某些个别情况下,例如对重载运算符的非从属函数调用,将在之后的更新中得到解决。Some edge cases, such as non-dependent function calls to overloaded operators, will be fixed in a future update.
  • MSVC 编译器工具集符合 C++ 17 标准。The MSVC compiler toolset conforms with the C++ 17 Standard. 使用 /Zc:__cplusplus 开关进行编译时,__cplusplus 宏的值反映了正确的标准版本号。When compiling with the /Zc:__cplusplus switch, the value of the __cplusplus macro reflects the correct Standard version numbers.
  • Visual C++ 运行时提供针对 Spectre 变量 1 漏洞的缓解方法。The Visual C++ Runtime supports mitigations for the Spectre variant 1 vulnerability. 工具集包括 DLL 的缓解版本和非缓解版本。The toolset includes mitigated and non-mitigated versions of the DLLs. 启用“代码生成”属性页中的 Spectre 缓解功能也可链接到 DLL 的缓解版本。Enabling the Spectre Mitigation feature in the Code Generation property page will also cause linking to the mitigated version of the DLL. 有关 Spectre 缓解的详细信息,请参阅 Visual C++ 团队博客。More information about Spectre mitigations is available on the Visual C++ Team Blog.
  • 已实现对非优化版本 (/Od) 中的 Spectre 缓解的编译器支持。Enabled compiler support for Spectre mitigations in non-optimized builds (/Od).
  • 现在默认情况下已启用 /Zf 开关,这在使用多个编译过程时可促进 PDB 更快生成。The /Zf switch is now enabled by default, which enables faster PDB generation when using multiple compilation processes.
  • 显著地加快了 /await 的代码生成速度。We significantly improved the code generation for /await. 重新实现了代码生成器中的协同程序,提高了可靠性,并修复了绝大部分的 bug。We re-implemented coroutines in the code generator to improve reliability, fixing the vast majority of bugs.
  • CMake 目标视图提供了一种在解决方案资源管理器中(而不是基于文件夹视图)查看 CMake 项目源的替代方法,它将代码组织到各个 CMake 目标中(图 4)。The CMake Targets View provides an alternative way to view a CMake project's source in the Solution Explorer; instead of a folder-based view, it organizes the code into individual CMake targets (Figure 4). 该组织方式类似于 CMake Visual Studio 生成器创建的项目和解决方案文件的组织方式。The organization is similar to the organization of the Project and Solution files created by the CMake "Visual Studio" generator.
CMake Targets View
(图 4)CMake 目标视图(Figure 4) CMake Targets View
  • 属于 CMake 项目的源文件 (.cpp) 可以通过 CMake 菜单单独生成,也可以通过在解决方案资源管理器中右键单击源文件实现。Source files (.cpp) belonging to CMake projects can be built individually via the CMake menu or by right-clicking on a source file in the Solution Explorer.
  • 造成标记解析错误的未知宏现在采用绿色波浪线下划线标出。Unknown macros that cause tag-parsing errors are now underlined with green squiggles. 快速操作可用于将宏自动添加到 C++ 提示文件,从而解决问题。A quick action is available to automatically add the macro to a C++ Hint file to resolve the issue. 单击项目菜单上的“显示标记分析错误”可列出所有解决方案或文件夹中的标记分许错误。All tag-parsing errors in the Solution or folder can be listed by clicking Display Tag Parser Errors on the Project menu.
  • 使用打开的文件夹中的快速操作将标头添加到 CppProperties.json 包含路径。Add headers to the CppProperties.json include path with quick actions in Open Folder.
  • 现在自动下载 Linux 和 Unix 类似系统的标头以供 Windows 的 IntelliSense 使用。Headers from Linux and Unix-like systems are now automatically downloaded for use by IntelliSense on Windows. 这些标头还用于为 Linux 本机平台开发提供增强的 IntelliSense 体验。These are also used to provide an enhanced IntelliSense experience for Linux native Platform development.
  • 添加了五条新规则,用于强制执行 C++ Core Guidelines 中关于指南支持库的使用的项。We added five new rules enforcing items from the C++ Core Guidelines regarding use of the Guidelines Support Library.
  • 允许使用聚合类型的公共基类,以便无需编写样本构造函数即可通过使用聚合初始化语法初始化这些基类。We allow public base classes in aggregate types, so that they can be initialized using aggregate initialization syntax without writing boilerplate constructors. 在大括号内的初始化表达式列表中,首先初始化基类,然后再初始化数据成员。In the braced initializer list, bases are initialized first, followed by data members.
  • 将函数的模板参数推导扩展为模板类的构造函数后,构造类模板时不再需要指定参数。Extend template argument deduction for functions to constructors of template classes; when you construct a class template, it is no longer necessary to specify the arguments.
  • C++17 已更改限制转换的定义。C++17 has changed the definition of qualification conversions. 以前,这些是在多级指针和混合指针之间允许进行的,这样限定符通常可添加到除第一个级别之外的其他级别,但是这不适用于数组。Previously, these were permitted between multi-level pointers and mixed pointers, such that qualifiers could often be added at levels other than the first; however, this did not similarly apply to arrays.
  • 改进了以前遗留给编译器实现详细信息的主要 C++ 操作的表达式计算顺序,例如成员访问、分配和数组索引。Refined the expression evaluation order for major C++ operators that were previously left to compiler implementation detail, for example, member access, assignment, and array index.
  • 展开 using 声明以支持可变基类成员的包扩展语义,然后即可在派生类中使用。Expand the using declaration to support pack expansion semantics for variadic base class members, which can then be used inside the derived class.
  • 现已完全实现表达式 SFINAE,并已做出相应的标准模板库更改。We are now complete with the full implementation of Expression SFINAE, and made the corresponding Standard Template Library changes.
  • 实现了符合 ISO C++17 标准的并行算法。We implemented parallel algorithms conforming to the ISO C++17 standard. 请参阅位于 [VSInstallDir]\VC\Tools\MSVC\<ver>\include\yvals.h 的源文件获取其他详细信息。See the source file located at [VSInstallDir]\VC\Tools\MSVC\<ver>\include\yvals.h for additional details.
  • 在 /std:c++17 模式下,C4834 的警告级别(“放弃具有 'nodiscard' 属性的函数的返回值”)从 W3 增加到 W1。In /std:c++17 mode, the warning level of C4834 ("discarding return value of function with 'nodiscard' attribute") is increased from W3 to W1. 此外,编译器现在可以推导通过 auto 声明的非类型模板参数的类型。In addition, the compiler can now deduce the type of a non-type template argument that is declared with auto.
  • 使用 /Debug:fastlink PDB 调试大型解决方案更加可靠。Debugging large solutions with /Debug:fastlink PDBs is more robust. PDB 中的更改会导致减少延迟并且 VS 调试程序中的堆内存消耗会减少 30%。Changes in the PDB lead to reduced latency and a 30% reduction in heap memory consumption in the VS Debugger.
  • C++ Core Check 现在是本机代码分析的默认工具集的一部分。C++ Core Check is now part of the default toolset for native code analysis. 任何时候在项目上执行代码分析时,除了默认推荐的规则,还可从 C++ Core Check 启用规则的子集。Whenever code analysis is executed over a project, a subset of rules is enabled from C++ Core Check in addition to default recommended rules.
  • 针对 Linux 项目添加了并行编译支持,可以显著加快生成时间。We added parallel compilation support for Linux projects, which may significantly improve build times. 可通过“属性页”>“C/C++”>“并行编译作业的最大数量”启用。This can be enabled via Property Pages > C/C++ > Max Number of Parallel Compilation Jobs.
  • 已添加“公共项目包含目录”的 Linux 项目属性,从而改善将项目到项目引用包括在 Linux 解决方案中的使用。The "Public Project Include Directories" Linux project property has been added to improve consumption of includes from project-to-project references in Linux solutions.
  • 为 IDE 中的 C++ 开发人员添加了 ClangFormat 支持We added ClangFormat support for C++ developers in the IDE. 类似于 EditorConfig,可使用 ClangFormat 在键入过程中自动设置代码的格式和样式,其方式可在开发团队中强制执行。Similar to EditorConfig, you can use ClangFormat to automatically style and format your code as you type, in a way that can be enforced across your development team.

C# 编译器C# Compiler

除了 bug 修复,该版本还具有以下 C# 7.3 功能:In addition to bug fixes, this release brings the following C# 7.3 features:

PythonPython

  • 可右键单击项目并选择“Python”>“MyPy”,在项目上运行 MyPy。You can run MyPy on a project by right-clicking on the project and selecting Python > MyPy. MyPy 将针对类型提示检查代码,并且检测到的任何类型错误都将显示在错误列表中。MyPy will check your code against type hints, and any type errors detected will be shown in the error list.
  • 可创建并使用 Conda 环境,以及使用 pip 或 Conda 管理 Conda 环境的包。You can create and use Conda environments as well as manage packages for your Conda environments using pip or Conda.
  • 现在 Visual Studio 安装程序提供 Anaconda 5.1.0 版,并在选中数据科学工作负载时默认安装。Anaconda version 5.1.0 is now available from the Visual Studio Installer and is installed by default when the Data Science workload is selected.
  • 在热门开源 pydevd 调试程序的基础上,添加了 Python 调试程序 ptvsd 4.0 版的选择加入版。We added an opt-in to the ptvsd 4.0 version of the Python debugger based on the popular open source pydevd debugger. 该选择加入版为应用程序提供更快的调试性能,可从“工具”>“选项”>“Python”>“实验性”选中“使用实验性调试程序”来启用。The opt-in offers faster debugging performance for applicationscan and can be enabled by checking Use experimental debugger from Tools > Options > Python > Experimental.
  • 有关使用调试程序、Conda、MyPy 和类型提示的详细信息,请参阅 Visual Studio 15.7 博客文章中的 PythonCheck out the Python in Visual Studio 15.7 blog post for more on using the debugger, Conda, MyPy, and type hints.

Visual Studio Tools for XamarinVisual Studio Tools for Xamarin

此发布包括 Xamarin.Android 8.3Xamarin.iOS 11.10This release includes Xamarin.Android 8.3 and Xamarin.iOS 11.10.

Android SDK 自动化管理Automatic Android SDK Management

加载 Xamarin.Android 项目时,Visual Studio 可确定计算机中是否缺少项目使用的 Android API 级别,并在后台自动安装该级别。When a Xamarin.Android project is loaded, Visual Studio can determine if the Android API level used by the project is missing from your machine and automatically install it for you in the background. 若要启用此功能,请依次转到“工具”>“选项”>“Xamarin”>“Android 设置”>“自动安装 Android SDK”。To enable this feature, go to Tools > Options > Xamarin > Android Settings > Auto Install Android SDKs.

改进的 XAML IntelliSenseImproved XAML IntelliSense

使用 Visual Studio 2017 15.7 版的 Xamarin.Forms 开发人员将发现 IntelliSense 体验得到了显著改善 (图 5)Xamarin.Forms developers using Visual Studio 2017 version 15.7 will notice a vastly improved IntelliSense experience (Figure 5). Xamarin.Forms XAML 编辑体验现在由支持 WPF 和 UWP 的相同 IntelliSense 引擎提供支持。The Xamarin.Forms XAML editing experience is now powered by the same IntelliSense engine that powers WPF and UWP. 这会为开发人员带来许多增强功能,包括改进匹配、使用灯泡提供建议、代码导航、linting、资源完成和标记扩展完成。This brings many enhancements to developers, including improved matching, light bulb suggestions, code navigation, linting, resource completion, and markup extension completion.

Xamarin.Forms XAML editing experience
(图 5)Xamarin.Forms XAML 编辑体验(Figure 5) Xamarin.Forms XAML editing experience

条件 XAML 的工具增强功能Tooling Enhancements for Conditional XAML

XAML 编辑器为创作条件 XAML 提供 IntelliSense。The XAML editor provides IntelliSense for authoring conditional XAML. 使用在应用的目标最低版本中不存在的类型时,XAML 编辑器现在不仅会发出警告,而且还会提供修复该错误的多个选项。When using a type that is not present in the target min version of your app, the XAML editor now not only warns, but also, provides several options to fix it.

自动预配 iOSAutomatic iOS Provisioning

为便于开发,已预配 iOS 设备(图 6)。We made iOS device provisioning for development easier (Figure 6). Visual Studio 2017 15.7 版中包括以下精简的体验:请求开发证书、生成签名密钥、在开发人员中心添加设备以及创建预配配置文件,所有体验都只需单击单个按钮即可实现。In Visual Studio 2017 version 15.7, there's a streamlined experience to request a development certificate, generate a signing key, add a device in the Developer Center, and create a provisioning profile, all with a single button click. 预配 iOS 设备所需的所有繁重任务在 30 秒内即可处理完成。All the heavy lifting of provisioning an iOS device is handled for you in less than 30 seconds.

iOS & Android Project Templates
(图 6)通过 iOS 自动预配功能简化 iOS 应用的预配(Figure 6) Provisioning iOS apps got easier with our automatic iOS provisioning feature.

Android SDK 管理Android SDK Management

了解 Android SDK 针对移动开发安装的可能耗时的组件。Figuring out what Android SDKs to install for mobile development can be time consuming. Visual Studio 2017 15.7 版添加新的 Android SDK 管理器来模拟管理 Android SDK 安装。Visual Studio 2017 version 15.7 adds a new Android SDK manager that takes the guesswork out of managing Android SDK installations. 打开没有为其安装 SDK 来构建它的项目后,将显示一则通知来帮助下载所需 SDK。After opening a project for which you don’t have SDKs installed to build it, a notice will appear to help you download the required SDKs. 单击“下载和安装”并接受相关许可协议后,将在后台自动安装所需 SDK。After clicking Download & Instal and accepting the relevant license agreement, the correct SDKs will automatically be installed in the background for you.

新建 iOS 和 Android 项目模板New iOS & Android Project Templates

无论是新的还是经验丰富的 Xamarin 开发人员,项目模板在应用构建过程中都非常重要。Whether you’re a new or seasoned Xamarin developer, project templates are an important part of the app building journey. 它们应便于查找和设置,使你从一开始就走向成功(图 7)。They should be easy to find and set you up for success from the start (Figure 7). 此版本已完全重新构建 iOS 和 Android 的本机项目模板,以便实现更好的可发现性和对现代导航模式(如浮出控件或底部选项卡)更好的支持。In this release, we completely rebuilt our iOS and Android native project templates for better discoverability and support for modern navigation patterns like flyout or bottom tabs.

iOS & Android Project Templates
(图 7)轻松查找和设置 iOS 和 Android 项目模板(Figure 7) Easy to find and set your iOS & Android Project Templates

对安装的改进Improvements to Installation

Visual Studio 安装程序附带已更新的 Android SDK 配置,包括 Android API 27 和 Android SDK Tools 26。The Visual Studio Installer ships with an updated Android SDK configuration, including Android API 27 and Android SDK Tools 26. 这包括对快速启动的支持,有了该支持,5 秒内即可启动 Android Mmulator。This includes support for quick boot, which enables your Android emulator to boot in less than five seconds.

此外,还包括 Android Device Manager(作为使用 .NET 工作负载进行移动开发的一部分),用于轻松创建、编辑和删除模拟器。Additionally, we include the Android Device Manager as part of the Mobile development with .NET workload to easily create, edit, and delete emulators.

.NET 效率提升.NET Productivity Improvements

  • 使用快速操作和重构(“Ctrl+.”)可执行以下操作:Use Quick Actions and Refactorings (Ctrl+.) to:
    • 转换 for-to-foreach,反之亦然。Convert for-to-foreach, and vice versa.
    • 将私有字段设置为 readonlyMake private fields readonly.
  • 转到定义(“F12”)现在支持 LINQ 查询子句和析构函数。Go To Definition (F12) is now supported for LINQ query clauses and deconstructions.
  • 使用“Ctrl +.”Use Ctrl+. var 和显式类型之间切换,不用考虑代码样式首选项。to toggle between var and the explicit type, regardless of your code style preferences.
  • 快速信息显示了 lambda 和本地函数的捕获结果,因此可以查看哪些变量在范围内。Quick Info shows captures on lambdas and local functions, so you can see what variables are in scope.
  • 更改签名重构(“Ctrl+.”Change Signature refactoring (Ctrl+. 签名)适用于本地函数。on signature) works on local functions.
  • 可就地编辑 .NET Core 项目文件,因此完全支持打开包含文件夹、还原选项卡以及其他编辑器功能。You can edit .NET Core project files in-place, so opening containing folder, restoring tabs, and other Editor features are fully supported. IDE 更改(例如添加链接的文件)将在编辑器中与未保存的更改合并。IDE changes, such as adding a linked file, will be merged with unsaved changes in the editor.

测试Testing

  • Live Unit Testing 适用于嵌入式 PDB 和指定 /deterministic 的 PDB。Live Unit Testing works with embedded pdbs and pdbs specifying /deterministic.
  • 添加了对使用引用程序集的项目的 Live Unit Testing 支持。We added Live Unit Testing support for projects that use reference assemblies.
  • 测试资源管理器在测试运行期间有更多的响应图标。The Test Explorer has more responsive icons during test runs. 进行测试运行时,当前正在执行的测试旁会显示进度圈,并且会针对挂起的执行的测试显示时钟图标。When a test run is in progress, a progress ring appears next to tests that are currently executing, and a clock icon appears for tests that are pending execution.

Web 工具Web Tools

  • 已将 ASP.NET Web 应用程序项目模板刷新为附属包的更新版本。The ASP.NET Web Application project templates have been refreshed to newer versions of the dependent packages.
  • 可将非容器化应用程序发布到 Linux 上的 Azure 应用服务。You can publish your non-containerized applications to Azure App Service on Linux.
  • 从“发布摘要”页打开 Cloud Explorer 中的 Azure 应用服务的链接。Link to open your Azure App Service in Cloud Explorer from the Publish Summary page.
  • 支持发布 .NET Core 框架依赖应用程序和独立应用程序。You have support for publishing .NET Core framework dependent and self-contained applications.
  • 将对 F# 应用程序的支持发布到应用服务和文件夹。Publish support for F# applications to App Service and folder.
  • 添加了对直接在 IIS Express 进程中管理的 ASP.NET Core 应用程序的支持。We added support for hosing ASP.NET Core applications directly in the IIS Express process.
  • 可创建存储帐户,并提供连接字符串名称,以便在发布到新的 Azure 应用服务时存储在应用服务设置中。You can create a storage account and provide a connection string name to be stored in App Service settings when publishing to a new Azure App Service.
  • 改进了调试期间的 Kestrel HTTP 支持。We improved Kestrel HTTPs support during debugging.
  • ASP.NET Core 应用程序支持项目属性下的“应用 URL”字段中可以有多个分号隔开的值。ASP.NET Core applications support multiple semi-colon separated values in the "App URL" field under project properties. 该字段中有多个 URL 时,第一个 URL 用于启动浏览器。When multiple URLs are present in this field, the first one is used to launch the browser.
  • 称为“标识”的新基架可通过命令行(即将推出 GUI 支持)提供,这会将标识管理 UI 添加到 ASP.NET Core 2.1 应用程序中。New scaffolder called "Identity" is available via the command line (GUI support coming soon), which adds identity management UI to your ASP.NET Core 2.1 applications.
  • ASP.NET 和 ASP.NET Core 项目可通过配置“Key Vault”连接服务在 IDE 中创建 Azure Key Vault 并使之与其 Web 应用程序关联。ASP.NET and ASP.NET Core projects can create and associate Azure Key Vaults with their web applications within the IDE by configuring the "Key Vault" Connected Service.
  • ASP.NET 或 ASP.NET Core 应用程序依赖于 Azure Key Vault 时,考虑到在“工具”>“选项”>“Azure 服务身份验证”下所选的帐户,如果应用在运行时无法从开发人员计算机访问该 Key Vault,错误列表将列出错误。When an ASP.NET or ASP.NET Core application depends on Azure Key Vault, an error appears in the error list if the app is unable to access that Key Vault at runtime from the developer’s machine given the account selected under Tools > Options > Azure Service Authentication. 这缩短了发现并更正权限或帐户问题的时间并避免运行时出现应用程序故障。This shortens the time to discover and correct the permission or account issue and avoid an application failure at runtime.
  • Web 应用使用所选 ASAL 用户帐户对其没有访问权限的 Key Vault 时,错误列表将显示警告。When your web app consumes a KeyVault to which your selected ASAL user account has no access, a warning will now appear in the Error List.

Visual Studio 2017 生成工具Visual Studio 2017 Build Tools

支持 Azure、UWP 和其他工作负载Support for Azure, UWP, and Other Workloads

Visual Studio 2017 生成工具支持适用于大多数 Visual Studio 项目的命令行生成。Visual Studio 2017 Build Tools support command-line builds for most Visual Studio projects. 支持的项目包括:ASP.NET、Azure、C++ 桌面、ClickOnce、容器、.NET Core、.NET 桌面、Node.js、Office 和 SharePoint、Python、TypeScript、单元测试、UWP、WCF 和 Xamarin。Supported projects include: ASP.NET, Azure, C++ desktop, ClickOnce, containers, .NET Core, .NET Desktop, Node.js, Office and SharePoint, Python, TypeScript, Unit Tests, UWP, WCF, and Xamarin. 希望在以后的发布中添加对 SQL 的支持。We expect to add support for SQL in a future release. Visual Studio 生成工具现还支持安装到容器Visual Studio Build Tools now also support installing into a container. 可从 Visual Studio 下载下载 Visual Studio 生成工具。You can download Visual Studio Build Tools from Visual Studio Downloads. 可在 Visual Studio 生成工具 2017 组件目录中找到可用于定制容器映像的工作负载和组件 ID 列表。A list of workload and component IDs with which you can tailor your container image can be found in the Visual Studio Build Tools 2017 component directory.

备注

生成工具需要 Visual Studio 2017 许可证。Build Tools requires a license to Visual Studio 2017.

Visual Studio 2017 生成工具中的 UWP 支持UWP Support in Visual Studio 2017 Build Tools

Visual Studio 生成工具可用于创建生成服务器,而无需安装 Visual Studio。Visual Studio Build Tools allow you to create build servers without installing all of Visual Studio. 为响应客户要求,我们改善了 Visual Studio 生成工具以支持其他项目类型。In response to customer requests, we enhanced Visual Studio Build Tools to support additional project types. 这些项目类型包括 UWP 工具,支持的项目有 ASP.NET、Azure、C++ 桌面、ClickOnce、容器、.NET Core、.NET 桌面、Node.js、Office 和 SharePoint、Python、TypeScript、单元测试、UWP、WCF 和 Xamarin。These project types include UWP tools, bringing the supported project list ASP.NET, Azure, C++ desktop, ClickOnce, containers, .NET Core, .NET Desktop, Node.js, Office and SharePoint, Python, TypeScript, Unit Tests, UWP, WCF, and Xamarin. 希望在以后的发布中添加对 SQL 的支持。We expect to add support for SQL in a future release.

适用于通用 Windows 平台开发的工具Tools for Universal Windows Platform Developers

  • 可视状态管理和动画工具可在 Blend 中与 XAML 设计器的最近更新中配合使用。Visual State Management and Animation tooling is available in Blend with the latest updates to the XAML Designer. 所有 UWP 开发人员都可访问这些工具。All UWP developers have access to these tools. 此外,XAML“编辑并继续”支持编辑可视状态和动画。In addition, XAML Edit & Continue supports editing Visual States and Animations.
  • Windows 机器学习自动代码生成支持允许通过将 ONNX 模型文件添加为项目中的现有项来生成 WinML 包装类。Windows Machine Learning automatic code generation support allows WinML wrapper classes to be generated by adding your ONNX model files as an existing item in the project.
  • Windows 10 的 2018 年 4 月更新 SDK(内部版本 17134)是 Visual Studio 中通用 Windows 平台开发工作负载的默认 SDK。The Windows 10 April 2018 Update SDK (Build 17134) is the default SDK for the Universal Windows Platform development workload in Visual Studio.
  • 可通过 C# 和新的可选代码包项目模板使用可选包中的代码执行创建相关集You can create related sets with code execution in optional packages using C# and the new Optional Code Package project template.
  • 使用新的“包布局”项模板,可轻松构造平面包捆绑With the new 'Package Layout' item template, you can easily construct flat package bundles.

APPX 包中的 AppInstaller 支持AppInstaller Support in APPX Packages

通用 Windows 平台允许使用称为“旁加载”的机制分布应用程序,无需 Microsoft Store。The Universal Windows Platform allows distributing applications without the Microsoft Store by using a mechanism called “sideloading”. 此版本允许生成应用安装文件,以从基于 APPX 的部署获取自动更新。This release allows you to generate the appinstaller file to get automatic updates from your APPX based deployments. 了解有关基础技术的详细信息。Learn more about the underlying technology.

NuGetNuGet

  • 此版本提供对基于 packages.config 将现有项目迁移到 PackageReference的立即可用的支持。This release provides out of the box support for migrating existing projects based on packages.config to PackageReference.

  • 添加了对 NuGet 包签名的支持。We added support for NuGet package signatures. 安装或还原签名包可在提取包内容之前验证数字签名。Installing or restoring signed packages validates the digital signature before extracting the packages content. 如果签名验证失败(例如,内容已篡改、无效证书等),则将阻止该操作并在错误列表中显示生成错误。If the signature validation fails (for example, the content has been tampered with, invalid certificate, etc.) the operation will be blocked with a build error that is shown in the Error List.

TypeScript 和 JavaScriptTypeScript and JavaScript

现在 Visual Studio 2017 15.7 版包含 TypeScript 2.8 RC。TypeScript 2.8 RC is now included in Visual Studio 2017 version 15.7.
此版本具有以下改进:This release brings the following improvements:

  • 支持 jsconfig.json,该文件有助于控制编辑器选项(类似于 tsconfig.json)。Support for jsconfig.json, a file that can help control your editor options much like tsconfig.json.
  • 通过“关闭未打开文件的类型检查”减少资源使用的选项。An option to reduce resource usage by turning off type-checking for unopened files.
    • 这是“工具”>“选项”>“文本编辑器”>“JavaScript/TypeScript”>“项目”下的“仅报告对编辑器中打开文件的诊断”。This is the only report diagnostics for files opened in the editor option under Tools > Options > TextEditor > JavaScript/TypeScript > Project.
  • 同时适用于 TypeScript 和 JavaScript 用户的“新编辑功能”:New editing features for both TypeScript and JavaScript users:
    • 在文件中应用所有快速修复。Applying all quick fixes within a file.
    • 组织导入。Organize imports.
    • JSX 中类和大括号内的 this. 完成项。Completions for this. in classes and braces in JSX.
  • TypeScript 2.8 功能:TypeScript 2.8 features:
    • 条件类型(A extends B ? C : D)。Conditional types (A extends B ? C : D).
    • lib.d.ts 条件类型帮助程序,例如 NonNullableReturnTypeExtractExcludeNew lib.d.ts conditional type helpers such as NonNullable, ReturnType, Extract, and Exclude.
    • 已映射类型中修饰符的精细控件。Granular control on modifiers in mapped types.
    • 使用新的 // @jsx 杂注的文件内的 JSX 工厂的控件。Control on JSX factories within files using the new // @jsx pragma.

可在 TypeScript 2.8 RC 博客中了解 TypeScript 2.8 的详细信息。You can find more information on TypeScript 2.8 in the TypeScript 2.8 RC blog.

  • TypeScript 2.7 功能:TypeScript 2.7 features:
    • 严格的属性初始化。Strict property initialization.
    • 数字分隔符。Numeric separators.
    • 更智能的类型临界。Smarter type guards.

可在 TypeScript 2.7 博客中了解 TypeScript 2.7 的详细信息。You can find more information on TypeScript 2.7 in the TypeScript 2.7 blog.

还修复了一些客户提出的重要问题,包括过早触发代码片段、无法取消的重构、难以禁用的格式设置和不正确的 TypeScript 版本选择。We also fixed some of the top issues raised by customers, including premature triggering of snippets, uncancellable refactorings, hard-to-disable formatting, and incorrect TypeScript version selection.

备注

Typescript 2.8 支持所有这些改进功能。These improvements are powered by TypeScript 2.8. 为实现最佳体验,将现有项目更新为最新的 TypeScript 版本。For the best experience, update your existing projects to the latest TypeScript version.

使用 Microsoft Edge 的 JavaScript 调试JavaScript debugging with Microsoft Edge

使用 Windows 预览体验成员内部版本的 Visual Studio ASP.NET 和 .NET core 开发人员,可设置断点并使用 Microsoft Edge 浏览器调试 JavaScript 文件。Visual Studio ASP.NET and .NET core developers on Windows Insider builds, can set breakpoints and debug their JavaScript files using a Microsoft Edge browser. Visual Studio 将使用 Microsoft Edge 团队在面向 Edge 浏览器时开发的新的 Edge DevTools 协议Visual Studio will use the new Edge DevTools Protocol developed by the Microsoft Edge team when targeting Microsoft Edge browser. 开发人员可使用 Microsoft Edge 和 Google Chrome 浏览器在 Visual Studio 内调试和修复 JavaScript 问题。Developers can debug and fix JavaScript issues from within Visual Studio in both Microsoft Edge and Google Chrome browsers. 我们很高兴可以实现这个客户强烈要求的功能。We are glad to enable this often-requested feature from our customers. 欢迎提供有关此功能的反馈,以帮助我们改进并生成更好的 Visual Studio。We would love to hear your feedback on the feature to help us improve and build a better Visual Studio.

调试和诊断Debugging and Diagnostics

该版本添加用于源链接的 VSTS 和 GitHub 身份验证支持。This release adds VSTS and GitHub authentication support for Source Link. 如果可通过 IDE 使用,身份验证将自动添加到源链接请求。Authentication will be added to Source Link requests automatically if it is available through the IDE. 如果用户还没有进行身份验证,则将显示登录 UI 以进行身份验证。If the user is not already authenticated, the sign in UI will be shown to enable authentication.

支持使用 IntelliTrace 的后退调试功能对 .NET Core 项目进行调试。IntelliTrace’s step-back debugging feature is supported for debugging .NET Core projects.

  • 要启用此功能,请转到“工具”>“选项”>“IntelliTrace 设置”,然后选择“IntelliTrace 事件和快照”选项。To enable the feature, go to Tools > Options > IntelliTrace settings, and select the IntelliTrace events and snapshots option.
  • IntelliTrace 的后退调试功能支持在出现异常时获取快照。IntelliTrace's step-back debugging feature supports taking snapshots on exceptions. 要启用此功能,请转到“工具”>“选项”>“IntelliTrace 设置”,然后选择选项“IntelliTrace 事件和快照”(图 8)。To enable the feature, go to Tools > Options > IntelliTrace settings, and select the option IntelliTrace events and snapshots (Figure 8).
Snapshot on exception
(图 8)异常情况下的快照(Figure 8) Snapshot on exception

启动脚本调试程序并将其附加到 ASP.NET 项目的 Microsoft EdgeLaunch and Attach Script Debugger to Microsoft Edge for ASP.NET Projects

选择使用 Google Chrome 作为浏览器时,可以直接在 Visual Studio 中调试 JavaScript 和 TypeScript。You can debug both JavaScript and TypeScript directly in Visual Studio when using Google Chrome as your browser of choice. 只需选择 Chrome 作为 Visual Studio 中的浏览器,并点击 F5 即可进行调试。All you need to do is select Chrome as your browser in Visual Studio and hit F5 to debug. 有关其他信息,请参阅 Google Chrome 中 ASP.NET 项目的客户端调试See the Client-side debugging of ASP.NET projects in Google Chrome for additional information.

团队资源管理器Team Explorer

在“Git 设置”(位于团队资源管理器中的“全局设置”中)中,可在 OpenSSL 和安全通道之间进行选择。In Git Settings, Global Settings in Team Explorer, there is an option to choose between OpenSSL and Secure Channel. 默认为 OpenSSL。OpenSSL is the default.

用于 Service Fabric 6.2 版的 Service Fabric 工具Service Fabric Tooling for the 6.2 Service Fabric release

用于 Service Fabric 6.2 版的 Service Fabric 工具可为 6.2 运行时和 3.1 SDK 提供兼容性支持。The Service Fabric Tools for the Service Fabric 6.2 release provide compatibility support for the 6.2 runtime and 3.1 SDK. 除了修复几个 bug 外,还有一项新功能可向现有的 ASP.NET 或控制台项目添加容器支持。Along with several bug fixes, a new feature enables adding container support to existing ASP.NET or Console projects. 全新的“添加业务流程支持”上下文菜单和对话框同时支持 .NET Framework 和 .NET Core 2.0 项目。Both .NET Framework and .NET Core 2.0 projects are supported through a new "Add Orchestration Support" context menu and dialog. 向这些项目添加 Service Fabric 业务流程支持后,即可远程部署项目并使用本地 Service Fabric 群集进行调试。Once these projects have added Service Fabric orchestration support, they can be deployed remotely and debugged on the local Service Fabric cluster.

实体框架工具改进Entity Framework Tools Improvements

F# 和 F# 工具改进F# and F# Tools Improvements

我们对 F# 及其工具进行了诸多改进。We made many improvements to F# and its tools. 此次发布重点关注性能和通过 .NET SDK 样式项目清理现有体验。Performance and cleaning up existing experiences with .NET SDK-style projects has been the focus for this release. 与往常一样,我们也得到来自美好的 F# 社区的极大帮助。As always, we also received significant contributions from the wonderful F# community.

F# 编译器和核心库改进F# Compiler and Core Library Improvements

  • 可使用 .NET SDK 中的 F# 编译器从属性生成 F# 程序集信息。Enabled generating F# AssemblyInfo from properties with the F# compiler in the .NET SDK.
  • --debug:full 支持 Windows 的 F# .NET Core 编译器。--debug:full is supported for the F# .NET Core compiler on Windows.
  • MakeTuple 支持结构元组。MakeTuple is supported for struct tuples.
  • 使用元组的扩展方法时出现不必要警告的问题已解决。An unnecessary warning when using an extension method for a tuple is now resolved.
  • MailboxProcessor.PostAndAsyncReply 可在取消父进程时正确处理取消操作。MailboxProcessor.PostAndAsyncReply properly handles cancellation when a parent process is cancelled.
  • 使用 NonStructuralComparison 时,float32 类型的等效类型现在是正确的。Equality for float32 types is now correct when NonStructuralComparison is used.
  • 搜索方法重载时,现可通过 Matthias Dittrich 转发警告。Warnings are now forwarded when searching for method overloads, by Matthias Dittrich.
  • 对枚举进行模式匹配时的警告改进,可在枚举不匹配时发出示例,作者 John WostenbergAn improvement to a warning when pattern matching on an enum to emit an example of an unmatched enum, by John Wostenberg.

F# 工具改进F# Tooling Improvements

  • 显著降低了 F# 编译器服务的内存使用,作者 Avi Avni 和 Microsoft。Significant reductions in memory usage in the F# Compiler Service, by Avi Avni and Microsoft.
  • 未使用的开启分析器在打开状态下的性能有显著提升。Significant performance improvements for the Unused Open Analyzer when it is turned on.
  • 改进了 F# 分析器和代码修补程序在打开状态下的响应性,这样将始终优先处理错误诊断。Improved responsiveness when F# analyzers and code fixes are turned on, such that error diagnostics are always prioritized above the rest.
  • 添加了 F# 的 ASP.NET Core 模板。We added ASP.NET Core templates for F#.
  • .NET SDK 项目文件夹中的粘贴文件的初始顺序现在恰当地显示在文件已粘贴到的范围的顶部。The initial ordering for pasted files in folders for .NET SDK projects is now correctly at the top of the scope the file was pasted into.
  • 按住“Alt+Enter”时,没有项目文件的 F# 脚本可正确将代码发送到 F# 交互。F# scripts without a project file correctly sends code to F# Interactive when Alt+Enter is pressed.
  • F# 列表的调试程序视图已从 50 项扩展到 5000 项。The debugger view for F# lists has been extended from 50 items to 5000 items.
  • 经典 F# 项目(仅 .NET 框架)也可执行设计时版本,这可减少解决方案加载时间。Classic F# projects (.NET Framework only) also perform design-time builds, which reduces solution load time.
  • 现在可在“设置”>“文本编辑器”>“F#”>“高级”下切换结构化参考线和大纲视图。The Structured Guidelines and Outlining views can now be toggled, under Settings > Text Editor > F# > Advanced.
  • F # 编译器服务现在返回程序集级别属性。Assembly level attributes are now returned by the F# Compiler Service.
  • Entity.DeclaringEntity 已添加到 F# 编译器服务。We added Entity.DeclaringEntity to the F# Compiler Service.
  • 可通过 F# 编译器服务 API 进行优化,作者 Steffen ForkmannncaveOptimization is available via the F# Compiler Service API, by Steffen Forkmann and ncave.
  • GetDeclarationLocation 不再需要文件提供其他正确数据的结果,作者 amieresGetDeclarationLocation no longer requires a file to provide results on otherwise correct data, by amieres.
  • IsNameGenerated 现在可用于 F# 符号 API,作者 Eugene Auduchinok.IsNameGenerated is now available in the F# Symbols API, by Eugene Auduchinok.

F# 基础结构改进F# Infrastructure Improvements

  • Mono 生成中不再需要 autoconfautoconf is no longer required in our Mono build.
  • 现在所有 Visual Studio 集成项目都使用 .NET SDK。All Visual Studio integration projects now use the .NET SDK.
  • 可通过“帮助”>“关于 Microsoft Visual Studio ”获取工具生成的提交哈希。The commit hash for a build of the tools is available in Help > About Microsoft Visual Studio.

若要查阅该发布中出现的完整提交记录,请参阅 15.7 版中的发布标记To see the full commit log of what went into this release, check out our release tag for 15.7.


已知问题Known Issues

查看 Visual Studio 2017 版本 15.7 中全部现有已知问题和可用解决办法。See all existing known issues and available workarounds in Visual Studio 2017 version 15.7.

Visual Studio 2017 Known Issues


Release Notes Icon Visual Studio 2017 15.7.1 版Visual Studio 2017 version 15.7.1

发布日期:2018 年 5 月 8 日released on May 08, 2018

15.7.1 版中解决的首要问题Top Issues Fixed in 15.7.1

15.7.1 版中解决了客户报告的下列问题:These are the customer-reported issues addressed in 15.7.1:

  • 此版本包含一个解决方案,可减少加载解决方案时使用的内存和 GC 压力。This release includes a fix that reduces memory usage and GC pressure during solution load.

Release Notes Icon Visual Studio 2017 15.7 版安全公告通知 Visual Studio 2017 version 15.7 Security Advisory Notice

更新时间:2018 年 5 月 8 日updated on May 08, 2018

针对 .NET Core 拒绝服务漏洞的 Microsoft 安全公告Microsoft Security Advisory for .NET Core Denial Of Service Vulnerability

CVE-2018-0765CVE-2018-0765

Microsoft 发布此安全公告的目的在于提供有关 .NET Core 和 .NET 本地版本 2.0 中的漏洞的信息。Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core and .NET native version 2.0. 此公告还可指导开发者更新其应用程序,以消除此漏洞。This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

Microsoft 了解到,.NET Framework 和 .NET Core 未正确处理 XML 文档时,会出现漏洞拒绝服务。Microsoft is aware of a denial of service vulnerability that exists when .NET Framework and .NET Core improperly process XML documents. 如果攻击者成功利用此漏洞,可能会导致对 .NET Framework、.NET Core 或 .NET 本地应用程序拒绝服务。An attacker who successfully exploited this vulnerability could cause a denial of service against a .NET Framework, .NET Core, or .NET native application.

此次更新更正了 .NET Framework、.NET Core 和 .NET 本地应用程序对 XML 文档处理的操作方式,从而解决了此漏洞。The update addresses the vulnerability by correcting how .NET Framework, .NET Core, and .NET native applications handle XML document processing.

如果是 ASP.NET Core 应用程序,还建议开发人员更新到 ASP.NET Core 2.0.8。If your application is an ASP.NET Core application, developers are also advised to update to ASP.NET Core 2.0.8.


Release Notes Icon Visual Studio 2017 版本 15.7.2Visual Studio 2017 version 15.7.2

发布日期:2018 年 5 月 21 日released on May 21, 2018

15.7.2 版中解决的首要问题Top Issues Fixed in 15.7.2

15.7.2 版中解决了客户报告的下列问题:These are the customer-reported issues addressed in 15.7.2:


Release Notes Icon Visual Studio 2017 版本 15.7.3Visual Studio 2017 version 15.7.3 New Release icon

发布日期:2018 年 5 月 31 日released on May 31, 2018

15.7.3 版中解决的首要问题Top Issues Fixed in 15.7.3

15.7.3 版中解决了客户报告的下列问题:These are the customer-reported issues addressed in 15.7.3:

Git 安全漏洞Git Security Vulnerability

我们还修复了 Git 中由 Git 社区披露的安全漏洞。We also fixed a security vulnerability in Git that was disclosed by the Git community. 当用户克隆恶意存储库时,该漏洞可导致执行任意代码。The vulnerability can lead to arbitrary code execution when a user clones a malicious repository. 此博客文章提供更多信息。This blog post has more information.

反馈Feedback

我们期待你的宝贵意见和建议!We’d love to hear from you! 对于这些问题,可通过安装程序或 Visual Studio IDE 右上角的“报告问题”选项告知我们。For issues, let us know via the Report a Problem option in the upper right-hand corner of either the installer or the Visual Studio IDE itself. 必须向The Feedback Icon 图标位于右上角。icon is located in the upper right-hand corner. 可以在 Visual Studio 开发者社区中跟踪问题,也可在其中提问和找到答案。You can track your issues in the Visual Studio Developer Community, where you can ask questions and find answers. 也可以通过 UserVoice 提出产品建议或通过实时聊天客户支持获取免费的安装帮助。You can also make a product suggestion through UserVoice or get free installation help through our Live Chat support.


博客Blogs

通过参考开发人员工具博客网站中的见解和建议,随时掌握所有新版本的最新最全资讯,并发表有关大量功能的深入分析帖子。Take advantage of the insights and recommendations available in the Developer Tools Blogs site to keep you up-to-date on all new releases and include deep dive posts on a broad range of features.

Developer Tools Blogs


Visual Studio 2017 发行说明历史记录Visual Studio 2017 Release Notes History

可以查看旧版 Visual Studio 2017 发行说明:You can view prior versions of Visual Studio 2017 release notes:


返回首页
Top of Page