What’s new in Visual Studio 2017:
Microsoft happy to announce the release of Visual Studio 2017. This release brings a new lightweight and modular installation experience which can be tailored to your needs.
by using Visual Studio 2017 to develop apps for Android, iOS, Windows, Linux, web, and cloud. Code fast, debug and diagnose with ease, test often, and release with confidence. You can also extend and customize Visual Studio by building your own extensions. Use version control, be agile, and collaborate efficiently with this new release!
1.Here is a high-level recap of the changes we’ve made:
- Performance and productivity. We have focused not only on new and modern mobile, cloud, and desktop development capabilities, but we’ve also improved the overall acquisition, performance, and general developer productivity experiences. Visual Studio starts faster, is more responsive, and uses less memory than before.
- Redefined fundamentals. A new setup experience means that you can install more quickly and install what you want when you need it. Visual Studio start faster, whether you want to load large solutions and projects, or work on folders of code, or even a single file of code. And, Visual Studio helps you stay focused on the big picture, especially for teams embracing DevOps.
- Cloud app development with Azure. A built-in suite of Azure tools that enable you to easily create cloud-first apps powered by Microsoft Azure. Visual Studio makes it easy to configure, build, debug, package, and deploy apps and services on Azure.
- Mobile app development. In Visual Studio 2017, you can innovate and get results fast with Xamarin, which unifies your multi-platform mobile requirements by using one core codebase and set of skills. Go mobile with your existing teams, technology investments, and C# code to deliver consumer-grade experiences ahead of schedule and under budget. Accelerate every step of the mobile lifecycle to deliver world-class consumer experiences or a portfolio of productivity apps to empower your workforce.
2 And here are more details on some of our most notable changes.
a.Start Visual Studio faster:
The new Visual Studio Performance Center can help you optimize your IDE start-up time. The Performance Center lists all the extensions and tool windows that might slow down the IDE startup. You can use it to improve startup performance by determining when extensions start, or whether tool windows are open at startup.
b.Decrease solution load time:
Working on solutions that contain large numbers of projects doesn’t mean you have to work with all the files or projects at one time. Now you can edit and debug without waiting for Visual Studio to load every project. To try this out with managed projects, turn on the Lightweight Solution load from Tools -> Options -> Projects and Solutions.
c.Faster on-demand loading of extensions:
Visual Studio is moving its extensions (and working with third-party extensions too) so that they load on-demand, rather than at IDE startup. Curious about which extensions impact startup, solution load, and typing performance? You can see this information in Help -> Manage Visual Studio Performance.
Sign in across multiple accounts
We’ve introduced a new identity service in Visual Studio that allows you to share user accounts across Team Explorer, Azure Tools, Windows Store publishing, and more.
You can stay signed in longer, too. Visual Studio won’t ask you to sign in again every 12 hours. To learn more, see the Fewer Visual Studio Sign-in Prompts blog post.
e.Manage your extensions with Roaming Extensions Manager:
It’s easier to set up each development environment with your favorite extensions when you sign in to Visual Studio. The new Roaming Extension Manager keeps track of all your favorite extensions by creating a synchronized list in the cloud.
To see a list of your extensions in Visual Studio, click Tools > Extensions & Updates, and then click the Roaming Extension Manager.
The Roaming Extension Manager tracks all the extensions you install, but you can choose which ones you want to add to your Roaming list.
When you use the Roaming Extension Manager, you will notice 3 icon types on your list:
- Roamed: An extension that is part of this Roaming List, but not installed on your machine. (You can install these by using the Download button.)
- Roamed & Installed: All extensions that are part of this Roaming List and installed in your dev environment. (If you decide you do not want to roam, you can remove these by using the Stop Roaming button.)
- Installed: All extensions that are installed in this environment, but are not part of your Roaming List. (You can add extensions to the Roaming List by using the Start Roaming button.)
Any extension that you download while you are signed in is added to your list as Roamed & Installed and is part of your Roaming list, which gives you access to it from any machine.
f.Experience live architecture dependency validation and live unit testing:
Visual Studio can now notify you in real-time of architectural dependency rule violations as you type code in the Code Editor by using Dependency Validation diagrams (a.k.a. Layer diagrams).
Errors appear in the Error List and squiggles will appear in the text editor showing you the precise location of the violation. You are now less likely to introduce unwanted dependencies.
g.Live Unit Testing:
In Visual Studio Enterprise 2017, live unit testing gives you live unit test results and code coverage in the editor while you are coding. It works with C# and Visual Basic projects for the .NET Framework and supports three test frameworks of MSTest, xUnit, and NUnit.
h.Visual Studio IDE enhancements:
Interact with Git:
When you are working with a project in Visual Studio, you can setup and quickly commit and publish your code to a Git service. You can also manage your Git repositories by using menu clicks from buttons in the bottom right-hand corner of the IDE.
The Structure Visualizer draws structure guide lines (a.k.a. indent guides) on your code. You can use these to visualize and discover what block of code you’re in at any time without having to scroll. Hovering on the lines shows you the tooltips that let you see the opening of that block and its parents. It’s available for all the languages supported via TextMate grammars as well as C#, Visual Basic, and XAML.
We’ve refreshed the navigation experience to help you get from A to B with greater confidence and fewer distractions.
- Go To (Ctrl+F12) – navigate from any base type or member to its various implementations.
- Go To All (Ctrl+T or Ctrl+,) – navigate directly to any file/type/member/symbol declaration. You can filter your result list or use the query syntax (for example, “f searchTerm” for files, “t searchTerm” for types, etc.).
- Find All References (Shift+F12) – with syntax colorization, you can group Find All Reference results by a combination of project, definition, and path. You can also “lock” results so that you can continue to find other references without losing your original results.
- Indent Guides – dotted, gray vertical lines act as landmarks in code to provide context within your frame of view. You may recognize these from the popular Productivity Power Tools.
For more information about our new productivity features, see the Productivity in Visual Studio 2017 blog post by Mark Wilson-Thomas.
i.Debugging and Diagnostics:
Run to Click:
Now, you can more easily skip ahead during debugging without setting a breakpoint to stop on the line you want. When you are stopped in the debugger, simply click the icon that appears next to the line of code that your mouse is over. Your code will run and stop on that line the next time it is hit in your code path.+
The New Exception Helper:
The new Exception Helper helps you view your exception information at-a-glance. The information is presented in a compact form with instant access to inner exceptions. When you diagnose a NullReferenceException, you can quickly see what was null right inside the Exception Helper.
We hope you find the article as helpful, I hope you liked the article. Please share your valuable suggestions and feedback in the comments