Dragos Stoica
Dragos Stoica

Reputation: 1935

Visual Studio 2015 XAML files freezing

I've recently updated the version of VS from 2013 to 2015. I work on WPF and obviously, I have to modify *.xaml files; every time I leave a .xaml file Visual Studio freezes for about 15-20 seconds. I cannot work like that! I've uninstalled Reshaper, but no change. I've closed even the designer process, but still - no success.

When I try to run VS without administrative rights it freezes even more (about 30 seconds). If I try to open the same solution with VS2013 it works very well.

Station details: 12 GB RAM, i7 2.5GHz, SSD, Windows 10 x64

Does anyone face the same problem? How to solve it?!

Upvotes: 12

Views: 2658

Answers (3)

soydachi
soydachi

Reputation: 901

It is not a plugin problem, VS2015 seems a little buggy to me. You can update to the latest version (Update 3), which works much better for me.

I think the problem is that VS added support for many different frameworks in a short amount of time. It's normal that the version is buggy, but I'm sure they will solve it with the updates.

Upvotes: 3

user3188639
user3188639

Reputation:

If you can work without designer, try opening and editing just the source (XAML) code. Personally, I find it easier to work with XAML source and intellisense than using a VS XAML designer.

To do this,

  • right click on a XAML file
  • select Open with...
  • select Source Code (Text) editor
  • if you like this mode, click Set as Default to always open just XAML.

If you need designer later, you can open in designer mode by selecting XAML Designer or Automatic Editor Selector.

Upvotes: 2

Jeroen Doppenberg
Jeroen Doppenberg

Reputation: 1558

"was having similar issue with 2015 pro. During the simplest of changes it would take forever. What I did was go under debug\options\web forms designer\ (turned off refactoring). This solved all my issues, not there is no delay while working, only when I do a build or switch to another section or form, it will write all changes at once."

source: http://blog.geocortex.com/2007/12/07/slow-visual-studio-performance-solved/

Upvotes: -1

Related Questions