As Somasegar announced this morning, Visual Studio 2010 Beta 1 is now available for download for MSDN subscribers and will be available in a couple of days more broadly. I’m currently installing VS2010 and thought I’d mention a few things that occurred to me during the process.
Customizing the Installation
There seems to be a new screen for customizing the installation process:
The idea is that you can select if you’re a .NET developer or a C++ developer and continue right away or then click the Customize button and see the old-style customization dialog that was in previous versions.
Maybe it’s just me, but I don’t see the point of this screen at all. Most people I know already customize the VS installation a lot, or will always install it complete, so it’s not like this is actually saving anyone time, is it?
Me? I’ll always go the customization road. For example, I never install Visual Basic; I have little use for it at this time. Oh, and by the way, don’t confuse Visual F# with Visual J# during the installation process :).
While on the subject of customization, anyone know why SQL Server Compact is a required part of the Visual Studio installation? This has been that way for a few years now, and I still have no clue why I’d even want it install; I have yet to use it. Does VS use it itself for anything?
The Installation Process
The actual installation went by without any errors, and was relatively quick (certainly faster than I expected it). You’ll have to restart during the installation just after the .NET Framework 4.0 Beta 1 setup is done.
Unfortunately, I had to go through it twice because I incorrectly installed VC++ instead of VC#!
Something to watch out for: If you decide later to add/remove components, and you didn’t install the Sync Framework initially, it will come up checked by default as soon as you get to the component list screen. So if you didn’t want it, make sure to uncheck it before continuing with the setup.
The Windows SDK
Visual Studio 2010 comes with the Windows SDK 7.0A release (probably a beta build). One interesting thing about the SDK is that the /bin folder of the SDK contains the .NET 3.5 tools, while the new .NET Framework 4.0 SDK tools are contained inside the /bin/NETFX 4.0 Tools subdirectory. So make sure you’re using the right set of tools.
Visual Studio 2010
Launching the IDE for the first time is actually pretty fast; feels very snappy for a lot of things, which is pretty impressive for a beta 1 release.
It does a somewhat reasonable attempt at migrating your Visual Studio 2008 settings, though I noticed that some settings, like the color for line numbers and some of the tool window layouts are not migrated correctly.
The new Text Editor has a nice feel to it, and I rather like the new IDE look. A few comments on it:
- Borders/Margins between UI elements are a little on the big side, so there’s actually quite a few pixels of lost space there. If you look at the screenshot on the side, notice particularly that the border between the text editor window and the tool window tabs is actually fairly large.
- The new WPF-based text editor renders the bold-as-italics in Envy Code R VS pretty badly. And still, several years later and a completely new text editor, and we still don’t have proper italics support. Seriously, people, how many more years do you want us to wait for it?
- The text editor background color does not appear to be handled correctly. The Fonts & Colors dialog will say that the right background color is selected, but it does not get picked up when you start the IDE, defaulting to White every time.
- One little nice thing I noticed is that the sample text on the Fonts & Colors dialog is now this:
- There’s a new feature in the editor: If you put the mouse pointer right on the vertical line with the +/- signs for the collapsible text, it will highlight the region of code that would get collapsed by the [-] sign right on top of the pointer:
Unfortunately, there doesn’t appear to be a way to change the background color used for the selection. Or at least I couldn’t find it. I believe this is a side effect of not allowing the user to change the background color for Collapsible Text.
- Font rendering on the IDE is, of course, very WPFy. Meaning, it’s not great. I think I can live with it on the editor itself (using a dark background seems to help a bit), but the IDE menus look, well, pretty bad:
- The New Project Dialog has some changes. Some are good (and it looks nice, too), but some not as much. The description pane on the right is new, and well, it seems pretty useless to me for 90% of the project templates most people will use. It doesn’t help that the descriptions on the existing templates are pretty simple one-liners:
And by the way, the pane is not resizable at this time.
- The new Text Editor does not appear to support splitting a code window horizontally, like previous versions did. I sure hope this gets fixed, because it’s a feature I use all the time
There is a lot of new stuff on the new IDE to look up, and tons more on the .NET framework. I hope to blog a bit about these in the next few weeks as I dig deeper into all the new stuff.