Search code examples
visual-studioxamlvisual-studio-2010editor

VS2010 takes 5 seconds to simply open any XAML files (!)


Visual Studio 2010 - release - takes about 5 seconds to open a xaml file.

It does it on some machine, not all of them!

.cs files open instantly. It only happens to XAML.

We tried the following, unsuccessful:

  • Run VS as Administrator
  • import user settings from a machine that didn't have the problem
  • clear the borked registry using ccleaner
  • turn off design view in the settings when xaml opens
  • Open As xaml files with VS xml editor
  • change IE settings to ignore certificate verifications (?)

Anyway, we're pretty desperate.

I have Quad core i7 1.73ghz with 8 gig of ram and SSD harddrive! It's definitely a bug or something fishy, because the system runs bullet fast!

Any help greatly appreciated.


Solution

  • Ok we found the problem!

    We had missing references to some DLL's on those machine.

    Those machines didn't have DevExpress installed, yet the solution was using devexpress in the reports projects.

    I noticed the difference as soon as DevExpress got installed. So the problem was silently missing dll's to some third party.

    Xaml files open instantly now.

    Thanks all for the genuine help and apologies as it wasn't directly related to VS2010. I hope it will help people with the same issue in the future.