New Features in Visual Studio 2017

Programming - Other
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The latest version of VS offers enhancements for performance, mobile and cloud app dev, and more.

Visual Studio is Microsoft's flagship development IDE for software developers wanting to develop applications that they can leverage at the managed environment. The latest version of this IDE is Visual Studio 2017, released to the public on March 7, 2017. You can take advantage of Visual Studio 2017 to build and manage applications for Android, iOS, Windows, Linux, Web, and the cloud.

This article presents an overview of the new features and enhancements in Visual Studio 2017 with special focus on the improved developer experience that this IDE provides.

System Requirements

The minimum software requirements for you to have Visual Studio 2017 running on your system is Windows 7 or later with a minimum of 2 GB of RAM, though 4 GB of RAM is recommended. I use 16 GB in my laptop, and Visual Studio 2017 works just fine.

Here's a quick look at the hardware requirements and supported operating systems.

Hardware Requirements

  • 2 GB of RAM (4 GB recommended)
  • 1 GB to 40 GB of available hard disk space (this actually depends on the features you install)

Supported Operating Systems

  • Windows 10 version 1507 or higher
  • Windows 8.1 (with Update 2919355)—Basic, Professional, and Enterprise Editions
  • Windows 7 SP1 with the latest updates installed—Home Premium, Professional, Enterprise, and Ultimate Editions
  • Windows Server 2016—Standard and DataCenter Editions
  • Windows Server 2012 R2 (with Update 2919355)—Essentials, Standard, and Datacenter Editions

You can download a copy of Visual Studio 2017 from the Visual Studio downloads page. You may also want to take a look at the What’s New page and the release notes.

New Features and Enhancements

Let’s explore the changes that have been made in Visual Studio 2017.

Performance Improvements

Visual Studio 2017 loads faster and needs less memory than its earlier counterparts. The setup experience while installing Visual Studio 2017 is awesome; you can just install the features you need. In essence, Microsoft's Visual Studio 2017 provides a simple, lightweight, modular installation experience that can be customized as needed. This much-improved setup experience enables a much faster installation.

You can optimize the IDE start time even further by using Visual Studio Performance Center. To invoke this option, click on the Help > Manage Visual Studio Performance option from the menu bar in the Visual Studio 2017 IDE. To improve the start-up performance, you may want to turn off the extensions and tools that may impact the start-up time.

 New Features in Visual Studio 2017 - Figure 2

Figure 1: Manage Visual Studio performance

To decrease the solution load time for solutions that have many projects, you can take advantage of the Lightweight Solution Load option. This feature comes in handy in situations where you have many projects for your solution and you would not be working with all the projects at one time. With this feature, you no longer need to wait for Visual Studio to load all the projects. To leverage this feature, turn the Lightweight Solution Load feature by clicking on Tools > Options > Projects and Solutions.

 New Features in Visual Studio 2017 - Figure 1

Figure 2: Lightweight Solution Load

Developer Productivity Improvements

Many productivity enhancements made in Visual Studio 2017 boost developer experience. The Roaming Extensions Manager is a nice new feature that tracks all the extensions that you install and then lets you select the ones you would like to add in the Roaming list. To use this feature, click on Tools > Extensions & Updates > Roaming Extensions Manager.

 

 New Features in Visual Studio 2017 - Figure 4

Figure 3: Roaming Extensions Manager

Live Architecture dependency validation is a new feature that provides real-time notifications when there are architectural dependency rule violations. In essence, this feature enables you to validate your architectural dependencies in real time.

Live Unit Testing is an excellent new feature that runs your unit tests while you make changes in your source code. The best thing is that you can get the live unit test results and code coverage while you are writing your code in the IDE. Live Unit Testing supports MSTest, xUnit, and NUnit unit testing frameworks and C# and VB.NET projects. You can write your unit tests first and then write code that conforms to the acceptance criteria as mentioned in those unit tests. I’ve tried using this feature in my system, and the best thing I observed is that Visual Studio IDE doesn’t block. You can continue to work as usual while your unit tests are executed in the background.

Visual Studio 2017 comes with enhancements in code editing, navigation, and debugging. Let's take a quick tour of these enhancements. Intellisense has been improved; the new Intellisense filtering feature enables you to narrow down the selection by category. If you’re working in C#, you can press Alt+P to narrow down to properties. If you would like to filter out the extension methods, you can press Alt+M instead.

 New Features in Visual Studio 2017 - Figure 4

Figure 4: Intellisense

Navigation has also improved a lot in Visual Studio 2017. You can now filter down your search quickly and easily. Take advantage of the Go To option to navigate easily from a particular type to its various implementations. You can locate the symbols, files, methods, and types in your source code using the Go To All feature. To invoke the Go To feature, press Ctrl+F12. Invoke the Go To All feature by pressing Ctrl+T.

The Find All References feature is invoked by pressing Shift+F12. It finds all references for you quickly and easily, even in complex codebases. You can also take advantage of its advanced searching, grouping, sorting, and filtering features.

Debugging and diagnostics have been improved as well. The Run to Click option enables you to just click on the icon next to a line of code so as to execute the code and stop at the line you want. To enable or disable this feature, click on Debug > Options > Enable Run to Click. The Performance Profiler has been updated and can attach to a running process. The CPU Usage tool now provides better insights; you can have your functions ranked by their CPU usages.

Find out more about the productivity enhancement features here.

Cloud Application Development

Visual Studio 2017 enables you to build applications for both on-premise and cloud seamlessly. You can use the connected services to enable connectivity between your application and any on-premise or cloud service available.

Mobile Application Development

Visual Studio 2017 also includes improvements to mobile application development. Visual Studio 2017 includes Xamarin 4.3. You can now create rich native applications using C# for iOS, Android, and Windows. New Xamarin project templates have been added, and there are enhancements to Cordova development as well. You also have the Visual Studio Mobile Center and a set of cloud services that can be used for building mobile applications.

Summary

Visual Studio 2017 is the latest edition of Microsoft's flagship development platform. In this article, we explored some of the new features and enhancements to this IDE and learned how we can make best use of it. Happy reading!

Joydip Kanjilal

Joydip Kanjilal is a Principal Software Engineer in Hyderabad, India.

Read my blog

Awarded the prestigious Microsoft Most Valuable Professional (MVP) award in ASP.NET six times in a row from the year 2007 to 2012. A speaker and author of several books and articles with over 18 years of industry experience in IT and more than 14 years in Microsoft .NET and its related technologies.

Currently working as a Principal Software Engineer at DELL International Services at Hyderabad. Was selected as an MSDN Featured Developer of the Fortnight (MSDN) a number of times and also Community Credit Winner at www.community-credit.com several times.

Authored the following books:

·  Entity Framework Tutorial (Second Edition) by Packt Publishing

·  ASP.NET Web API: Build RESTful Web Applications and Services on the .NET Framework by Packt Publishing

·  Visual Studio 2010 and .NET 4 Six-in-One by Wrox Publishers

·  ASP.NET 4.0 Programming by McGraw Hill Publishing

·  Entity Framework Tutorial by Packt Publishing

·  Pro Sync Framework by APRESS

·  Sams Teach Yourself ASP.NET AJAX in 24 Hours by Sams Publishing

·  ASP.NET Data Presentation Controls Essentials by Packt Publishing

Also reviewed more than 10 books and authored more than 350 articles for some of the most reputable sites, such as www.msdn.microsoft.com, www.code-magazine.com, www.asptoday.com, www.devx.com, www.ddj.com, www.aspalliance.com, www.aspnetpro.com, www.sql-server-performance.com, www.sswug.com, and so on.

Has years of experience in designing and architecting solutions for various domains. His technical strengths include C, C++, VC++, Java, C#, Microsoft .NET, AJAX, WCF, JQuery, ASP.NET Web API, REST, SOA, Design Patterns, SQL Server, Operating Systems, and Computer Architecture. Has been exploring Cloud technologies, IoT and Machine learning these days.

Blog: http://www.infoworld.com/blog/microsoft-coder

Website: www.joydipkanjilal.com

Twitter: https://twitter.com/joydipkanjilal

Facebook: https://www.facebook.com/joydipkanjilal

LinkedIn: http://in.linkedin.com/in/joydipkanjilal

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: