Tech Tock

Time is of the essence.

VS 2012 – Not as bad as 2010

Recently started using VS 2012. It’s growing on me.  Here’s my first impressions from my current focus as a C#/.Net WPF developer.

The bad

The bad parts are similar to bugs in VS 2010

  • MS Test "Now even more unusable than ever":  can’t run tests in current context and all the tests in a project are lumped together so you can’t just look for tests in one class.  Workaround: use ReSharper as your test runner.
  • Similarly slow worthless XAML designer.  Workaround: switch to XML view and move on.
  • Similarly slow to startup, load/reload projects.  Particularly awful when switching between git branches.  Workaround: close the solution, switch, reopen.
  • Similarly freezing on reloading projects in large solutions.  Workaround: go for coffee.
  • Breaks compatibility with old TFS versions.  Workaround: git tfs and wait for your tfs server to be upgraded.
  • It still has this error with the find function, which is by now just a quirk since I’ve seen it so often
  • the status bar says "Ready" well before a build completes
    • Error list doesn’t reliably clear when building
  • switches from output window to the error list when starting a build
  • copying text from the dark theme doesn’t include the background, so its invisible when you paste it somewhere (white text on white background)
  • Frequent freezing caused by the XAML editor can be fixed by this PowerShell script (if you must use the XAML editor and for some reason don’t want to switch to XML editor) 

      while($True){
      kill -processname XDesProc.exe*
      Start-Sleep -s 1
      }

  • XAML Designer crashes even though I don’t use it.  That’s a powerful bug:image

The Good

After 2 years, you would think they could impress right out of the box, but not really, but after you use it for a while, you won’t want to go back.

  • Highlighting all instances of a searched word on a page
  • Included dark theme is nice
  • When changing XAML/XML tags editor changes both tags at once – open and close
  • Better intellisense in XAML
  • Ignore specific exceptions directly from the dialog.  A big time saver:

image

  • Intellisense is working better in XAML for Static Resources even though I’m in the XML editor (not sure if this comes from VS or R#)
About these ads

February 28, 2013 - Posted by | Uncategorized | ,

2 Comments »

  1. The xaml designer is not only slow but actually less stable than 2010 – at least we have projects which you can design fine in 2010 but consistently hang xdesproc in 2012 and don’t render in Blend. If you attach a debugger to it you can see it just pulling in pretty much every single assembly on your machine until it runs out of memory. They must have tested it with single project solutions … as you say, worthless.

    Comment by Al | March 1, 2013 | Reply

  2. MSTest: The keyboard shortcut for ‘run Tests in context’ still works great for me. Works on individual tests (method context) or test class (class context). Ctrl+R, Ctrl+T. I usually use Ctrl+, to jump to the test class or method I want, then R, T to run it.

    Comment by Chris Tracy (@yzorg) | March 6, 2013 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: