Today, a new VisualStudio was released. It’s a 20th anniversary edition, numbered 2017. Let’s see what it has to offer in the free, Community edition.
- New installation process
- First launch
- Converting a project
- Opening a solution
- IDE features
New installation process
First new thing you see when you download the install package is the new installation experience:
It helps you select the features you need, so you can tailor VS exactly to your needs. According to Microsoft, the smallest installation is just a few hundred megabytes and it should contain basic code editing support for over twenty languages. Options I have selected (desktop, web and some of the tools) was close to 5GB.
Even though I have installed lots of components, after just a few minutes, I’ve seen the information the installation is now complete:
This is really impressive! Some time ago, I decided to wait for the RTM version with trying VS 2017. I wanted to see the finished product instead of checking each RC version. I heard it starts faster than previous versions, but… WOW! It takes about 4 seconds to get to
Get Started screen. Compare this to 15s I have to wait for VS 2015 and you will know what I mean. Of course, I have R# and NCrunch installed with VS2015 and VS2017 is clean, but still - VS was never starting this fast…
Converting a project
I am working on .NET Core based projects recently, so first thing I saw was an information about a project upgrade:
After a moment, project was converted. These are the changes:
As you see, instead of
*.xproj files, we now have a single
csproj file per project. I was very happy to see, it is really simple now:
There were no errors with the migration and project built and started without any problems.
Opening a solution
When I open an sln file in the new VS, it takes about 20s until everything is loaded. It’s faster than VS2015, but again - I have R# in the old version, so it’s hard to compare. We will have to see when JetBrains releases a version ready to work with final VS 2017 to compare that.
There are loads of new features packed in the new version. You can see the full list in the official announcement, but here are few things I liked the most:
Improved Code Navigation
Go To Type functionality finally available in the VS:
It even has the same shortcut as R# (CTRL + T). Also
Go To Line is improved is available in the same menu as
Go To Type.
Structure Guide Lines
These are enabled by default and look quite good actually:
When you hove over the line, a tooltip is displayed showing the context of the current code block.
Lightweight Solution Load
This sounds interesting, but I didn’t have a chance to test it yet. It should enable faster loading for large solutions. The feature is not enabled by default. When enabled (per solution), VS waits with project load until you start working with it. It should be very helpful for large solutions with dozens of projects.
Quick Actions and Refactorings
Another feature known from R# world - VS will now suggest improvements to your code with an option to make the transformation for you:
There are many more interesting feature - I suggest you go to Release Notes and check them yourself. In my opinion, it looks really promising. As always, some time is needed to see how it all performs in the day-to-day work, but my first impressions are really positive. Now, we have to wait until Resharper and NCrunch are released to see how they impact improved VS performance. What is worth to notice is the fact that VS Team is constantly implementing more and more features of these popular additions. There is a chance, we might not need them in some time…
PS. I know you don’t technically need R# or NCrunch, but they simply make the life easier ;)