Quote for the Week

"Learn to enjoy every moment of your life"

Sunday, April 16, 2017

What's New in Visual Studio 2017 ?

In this article, I want to bring up what are the new features added in VS 2017. Microsoft launched VS 2017 on March 07th,  2017 with many fresh and exciting features for Visual Studio developers. On February 24, 2016, Xamarin and Microsoft announced that Microsoft signed a definitive agreement to acquire Xamarin. Microsoft at Build 2016 announced that they will open-source Xamarin SDK and that they will bundle it as a free tool within Visual Studio's integrated development environment.

Now, we are celebrating the 20th anniversary of Visual Studio and one year anniversary and the release of Visual studio 2017 with many features.

There are many updates coming in the new release of Visual Studio. Unfortunately, I won’t be able to cover them all in this Visual Studio 2017 , but I’ll cover a selection of updates. Please take a look at the release notes if you want to know which other updates are in VS 2017.

Here are the ones that stood out for me:

Improved performance


Enhancements to the navigation, IntelliSense, refactoring, code fixes and debugging saves you time and effort on every-day tasks regardless of language or platform:

Visual Studio has been optimized to reduce startup time and solution load time. The very first launch of Visual Studio is at least 50% faster
Visual Studio will now monitor extension performance that impacts startup, solution load, or editing. You will receive alerts about poorly performing extensions via the Notification bar in the IDE
‘Reload all projects’ has been replaced with ‘Reload solution’ to support better performance of switching branches external to Visual Studio.

‘Run to click’ debugging


With the new ‘Run to click’ debugging feature you no longer need to set temporary breakpoints or perform several steps to execute your code and stop on the line you want. While stopped in a break state, you should see the ‘Run to click’ icon appear next to the line of code that your mouse is hovered over. Simply click the icon while debugging and your code should run to that line:

    - Run to click debugging is also a great feature we chose to highlight in this Visual Studio 2017.

Using the ‘Run to click’ feature you can also view information about how fast it took for the block to execute, process memory and CPU usage. Using this you can drill down until you find out exactly where your issues are.

‘Go to All’ feature


You can now navigate through your whole project using the ‘Go to All…’ search that is replacing the ‘Navigate to…’ one. This feature can be found under Edit > Go to > Go to All… or you can use the shortcut ctrl + , or ctrl + t.

I found this search to be extremely powerful especially in bigger applications. After you enter your search query, it will show a dropdown of all the occurrences found. The powerful search looks not only at file names but also within each file and file path. As you move through the dropdown, Visual Studio will open a peek-preview in the temporary dock view to help you find what you’re looking for:

Go to all search is a powerful feature of the new Visual Studio .

‘Find all references’ feature


Updates to the ‘Find all references’ output has now made it much easier to sift your way through the results. The search output now has syntax colouring and splits all the information into their respective columns. These columns can be customized so you only see what you want in the output. Another great addition is that they added ‘Peek preview’ to the output, and hovering your mouse over the reference will show you the block of code that it was found in.


Smarter auto-complete


Adjustments to the IntelliSense autocomplete means no more scrolling through a massive list of possible recommendations. Instead it will jump straight to the most likely option. It can now also tell the difference between capital case and lower case to make using shorthand autocomplete searches even shorter.

The new exception helper


The new version of Visual Studio also includes a new simplified, non-modal, exception helper. This is to help make finding out why exceptions are causing issues in your code easier. You can use this helper to easily view your exception information at glance with instant access to inner exceptions.

If you’re diagnosing a NullReference exception the helper will point out exactly what was null so you can quickly continue investigating the issue.

Using the new exception helper, you can now exclude breaking on exception types thrown from specific modules. To do this, simply click a checkbox to add a condition while stopped at the thrown exception:

'unhandled exception' is one of the benefits of Visual Studio RC 2017.



Almost I covered what I got from release notes.

Any questions, write to : dotnetcircle@gmail.com. Thank you for reading this article.