{"id":17025,"date":"2018-03-21T12:00:47","date_gmt":"2018-03-21T19:00:47","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=17025"},"modified":"2019-10-24T17:23:20","modified_gmt":"2019-10-25T00:23:20","slug":"visual-studio-2017-version-15-7-preview-2","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/visual-studio-2017-version-15-7-preview-2\/","title":{"rendered":"Visual Studio 2017 Version 15.7 Preview 2"},"content":{"rendered":"<p>Today we released the second preview of the next update: Visual Studio 2017 version 15.7. We hope that you will use this Preview and share your feedback with us. To use the Preview, you can either <a href=\"https:\/\/www.visualstudio.com\/vs\/preview\/\">install it fresh from here<\/a>, you can update the bits directly from the IDE, or if you have an Azure subscription, you can <a href=\"https:\/\/azuremarketplace.microsoft.com\/marketplace\/apps?search=visual%20studio%202017%20latest%20preview&amp;page=1\">provision a virtual machine with this latest preview (starting tomorrow)<\/a>.<\/p>\n<p>The top highlights of this Preview include:<\/p>\n<ul>\n<li>Improved intellisense for conditional XAML<\/li>\n<li>Additional C++ development improvements<\/li>\n<li>Streamlined configuration for updating UWP apps<\/li>\n<li>Inclusion of TypeScript 2.8<\/li>\n<li>Ability to debug JavaScript files using Microsoft Edge<\/li>\n<li>Tooling to prevent Web application permission problems<\/li>\n<li>Support for building additional project types on the build servers.<\/li>\n<\/ul>\n<p>This second Preview builds upon the <a href=\"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2018\/03\/13\/visual-studio-2017-version-15-7-preview-1\/\">features we added in Preview 1<\/a>. As always, you can drill into the details of these features by exploring the <a href=\"https:\/\/www.visualstudio.com\/en-us\/news\/releasenotes\/vs2017-preview-relnotes\">Visual Studio 2017 version 15.7 Preview release notes<\/a>. We appreciate your early adoption, engagement, and feedback as it helps us ship the most high-quality tools to everyone in the Visual Studio community.<\/p>\n<h2>Productivity<\/h2>\n<p><b>XAML Intellisense<\/b>: The XAML editor now provides IntelliSense for authoring <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/debug-test-perf\/conditional-xaml\">conditional XAML<\/a>. 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. The quick fix figures out the right conditional using statement based on the platform version where the type was first introduced, allowing the app to target a wider range of platform versions while being able to consume the latest controls.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense.png\" alt=\"XAML IntelliSense\" width=\"2644\" height=\"606\" class=\"aligncenter size-full wp-image-18926\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense.png 2644w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense-300x69.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense-768x176.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/05\/XAML-IntelliSense-1024x235.png 1024w\" sizes=\"(max-width: 2644px) 100vw, 2644px\" \/><\/a><\/p>\n<h2>C++ Development<\/h2>\n<p><b>Code Analysis<\/b><b>: <\/b>Five new rules enforcing items from the <a href=\"https:\/\/github.com\/isocpp\/CppCoreGuidelines\">C++ Core Guidelines<\/a> regarding use of the <a href=\"https:\/\/github.com\/Microsoft\/GSL\">Guidelines Support Library<\/a><u> are now available<\/u>.<\/p>\n<p><b>C++ Standards Conformance: <\/b>Five more C++17 Standard features are added to the compiler and IntelliSense in this release, making MSVC much closer to be fully compliant with the latest C++ Standard. As an example, extend <a href=\"http:\/\/www.open-std.org\/jtc1\/sc22\/wg21\/docs\/papers\/2016\/p0091r3.html\">template argument deduction<\/a> for functions to constructors of template classes \u2013 when you construct a class template you no longer have to specify the arguments. You can now have public base classes in aggregate types, so that they can be initialized using aggregate initialization syntax without writing boilerplate constructors. In braced initializer lists, bases are initialized first, followed by data members.<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\"><strong>C++17 Template argument deduction for class <\/strong><\/td>\n<td valign=\"top\"><\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">Before<\/td>\n<td valign=\"top\">After<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">pair&lt;int, double&gt; p(2, 4.5);<\/p>\n<p>auto t = make_tuple(4, 3, 2.5);<\/p>\n<p>lock_guard&lt;std::mutex&gt; lck(foo.mtx);<\/td>\n<td valign=\"top\">pair p(2, 4.5);<\/p>\n<p>tuple t(4, 3, 2.5);<\/p>\n<p>auto lck = lock_guard(foo.mtx);<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>We are now complete with the full implementation of C++11 <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2016\/06\/07\/expression-sfinae-improvements-in-vs-2015-update-3\"><u>Expression SFINAE<\/u><\/a>, and have made the corresponding Standard Library changes.<b> <\/b>We have also implemented parallel algorithms conforming to the ISO C++17 standard.<\/p>\n<p>For more C++ feature additions, please see the <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/releasenotes\/vs2017-preview-relnotes\">release notes<\/a>. <b><\/b><\/p>\n<h2>Universal Windows Platform Development<\/h2>\n<p><b>Automatic updates for sideloaded UWP apps: <\/b>The Universal Windows Platform allows distributing applications without the Microsoft Store by using a mechanism called \u201c<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/packaging\/appinstaller-root\">sideloading<\/a>\u201d. With Visual Studio 2017 version 15.7 Preview 2 using the latest <a href=\"https:\/\/www.microsoft.com\/en-us\/software-download\/windowsinsiderpreviewSDK\">Windows 10 Insider Preview SDK<\/a>, there is now tooling to easily configure the automatic update settings for these UWP apps.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings.png\" alt=\"UWP Side load Update Settings\" width=\"1180\" height=\"1010\" class=\"aligncenter size-full wp-image-18737\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings.png 1180w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings-300x257.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings-768x657.png 768w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2018\/03\/UWP-Side-load-Update-Settings-1024x876.png 1024w\" sizes=\"(max-width: 1180px) 100vw, 1180px\" \/><\/a><\/p>\n<h2>TypeScript and JavaScript Development<\/h2>\n<p><b>Compiler: <\/b>Visual Studio 2017 version 15.7 will include <a href=\"https:\/\/blogs.msdn.microsoft.com\/typescript\/2018\/03\/15\/announcing-typescript-2-8-rc\/\">TypeScript 2.8<\/a>.<\/p>\n<p><b>Developer Productivity: <\/b>We\u2019ve continued our push to help make TypeScript and JavaScript developers more productive by adding support for fixing all occurrences of a problem in a document (for example, removing unused variables), organizing imports (including sorting and removing unused declarations), and displaying the lightbulb more proactively when optional improvements are possible. We\u2019ve also fixed some of the top issues raised by customers, including premature triggering of snippets, un-cancellable refactorings, hard-to-disable formatting, and incorrect TypeScript version selection. These improvements are powered by TypeScript 2.8, so for the best experience, we recommend updating your existing projects to use the latest TypeScript version.<\/p>\n<p><b>Performance: <\/b>One of the best ways to make developers more productive is to improve the performance of their tools.\u00a0 To that end, we\u2019ve made background analysis of closed files optional (<i>Only report diagnostics for files opened in the editor<\/i> under Tools &gt; Options &gt; TextEditor &gt; JavaScript\/TypeScript \/ Project).\u00a0 We\u2019ve also added support for jsconfig.json \u2013 analogous to tsconfig.json \u2013 so that JavaScript developers can fine-tune their language service experience in the same way as TypeScript developers.<\/p>\n<p><b>Debugging using Microsoft Edge<\/b>: Visual Studio ASP.NET and .NET core developers on Windows Insider builds can now set breakpoints and debug their JavaScript files using Microsoft Edge browser. Visual Studio will use the new <a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoft-edge\/devtools-protocol\/0.1\/\">Edge DevTools Protocol<\/a> developed by the Microsoft Edge team when targeting Microsoft Edge browser, which means that developers will be able to debug and fix JavaScript issues from within Visual Studio in both Microsoft Edge and Google Chrome. We are glad to enable this oft requested feature from our customers and would love to hear what you think about it.<\/p>\n<h2>Web Development<\/h2>\n<p>It is often tricky and time consuming to diagnose runtime application permission problems. In Visual Studio 2017 version 15.7, we\u2019ve made a change to help you identify a specific kind of access issue during development. When running an ASP.NET or ASP.NET Core application on the local machine, the app may not have access to the Key Vault from the account specified under Tools | Options | Azure Service Authentication, and thus won\u2019t be able to run locally. Visual Studio will now detect that case and provide a proactive error during development. This type of diagnostic will shorten the time it takes to discover and fix this local runtime permission problem.<\/p>\n<h2>Build Tools<\/h2>\n<p>The Visual Studio 2017 Build Tools allow you to create build servers without installing the entire Visual Studio editing environment. Over the past few updates, we\u2019ve been expanding the matrix of project types that the Build Tools support. In the last minor release, we added the ability to build TypeScript and Node.js project types, and in this release we are adding support for building additional project types such as Azure, Office and Sharepoint, Mobile development with .NET (Xamarin), ClickOnce, Docker Tools, Test Tools, and installing into containers. <a href=\"https:\/\/aka.ms\/vs\/15\/pre\/vs_buildtools.exe\">Click here to download<\/a> the preview release of the Visual Studio Build Tools and try out these new capabilities.<\/p>\n<h2>Try out the Preview today!<\/h2>\n<p>If you\u2019re not familiar with Visual Studio Previews, take a moment to read the <a href=\"https:\/\/www.visualstudio.com\/en-us\/productinfo\/vs2017-release-rhythm\">Visual Studio 2017 Release Rhythm<\/a>. Remember that Visual Studio 2017 Previews can be installed side-by-side with other versions of Visual Studio and other installs of Visual Studio 2017 without adversely affecting either your machine or your productivity. Previews provide an opportunity for you to receive fixes faster and try out upcoming functionality before they become mainstream. Similarly, the Previews enable the Visual Studio engineering team to validate usage, incorporate suggestions, and detect flaws earlier in the development process. We are highly responsive to feedback coming in through the Previews and look forward to hearing from you.<\/p>\n<p>Please get the <a href=\"https:\/\/www.visualstudio.com\/vs\/preview\/\">Visual Studio Preview<\/a> today, exercise your favorite workloads, and tell us what you think. If you have an Azure subscription, you can provision <a href=\"https:\/\/azuremarketplace.microsoft.com\/marketplace\/apps?search=visual%20studio%202017%20latest%20preview&amp;page=1\">a virtual machine of this preview<\/a> (starting tomorrow). You can report issues to us via the <a href=\"https:\/\/aka.ms\/vs-rap\">Report a Problem<\/a> tool in Visual Studio or you can share a suggestion on <a href=\"https:\/\/visualstudio.uservoice.com\/forums\/121579\">UserVoice<\/a>. You\u2019ll be able to track your issues in the <a href=\"https:\/\/developercommunity.visualstudio.com\/\">Visual Studio Developer Community<\/a> where you can ask questions and find answers. You can also engage with us and other Visual Studio developers through our <a href=\"https:\/\/gitter.im\/Microsoft\/VisualStudio\">Visual Studio conversation in the Gitter community<\/a> (requires GitHub account). Thank you for using the Visual Studio Previews.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we released the second preview of the next update: Visual Studio 2017 version 15.7. We hope that you will use this Preview and share your feedback with us. The top highlights of this Preview include &#8211; Improved intellisense for conditional XAML, additional C++ development improvements, streamlined configuration for updating UWP apps, inclusion of TypeScript 2.8, ability to debug JavaScript files using Microsoft Edge, tooling to prevent Web application permission problems, support for building additional project types on the build servers.<\/p>\n","protected":false},"author":584,"featured_media":18852,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,1195,472,4980,1028,155,1029],"tags":[237,354,85,242,1383,9,137,376,124,185,125,182,156,353,133],"class_list":["post-17025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-cross-platform","category-gaming","category-java","category-mobile","category-visual-studio","category-web","tag-net","tag-announcement","tag-asp-net","tag-azure","tag-c","tag-debug","tag-html","tag-java","tag-javascript","tag-node-js","tag-typescript","tag-unity","tag-visual-studio-2017","tag-xamarin","tag-xaml"],"acf":[],"blog_post_summary":"<p>Today we released the second preview of the next update: Visual Studio 2017 version 15.7. We hope that you will use this Preview and share your feedback with us. The top highlights of this Preview include &#8211; Improved intellisense for conditional XAML, additional C++ development improvements, streamlined configuration for updating UWP apps, inclusion of TypeScript 2.8, ability to debug JavaScript files using Microsoft Edge, tooling to prevent Web application permission problems, support for building additional project types on the build servers.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/17025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/584"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=17025"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/17025\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/18852"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=17025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=17025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=17025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}