Reputation: 4999
Problem description: whenever I make any change to XAML file and save it, it takes at least half minute during which Visual Studio 2013 is totally not responding. Same thing happens when I try to load a .proj file, open or loand a solution (I understand it takes time to load a solution/project, but it takes longer than I experienced before). However, when I try to save a normal class file, it doesn't behave like that.
This problem has been existing for a while. My colleague told me it might be because I installed some unnecessary SW but it looks like I don't have those many extra SW anyway. Also when I check the task manager, I noticed that when this not-responding thing happens, the "Antimalware Service Executable" suddenly takes much system resource, more than 10% of the CPU. This I don't really understand. Why on earth the anti-malware service is suddenly running when saving the XAML/clearing the solution?
Upvotes: 1
Views: 371
Reputation: 4999
I searched many posts tried some solutions. For example, I tried to open XAML file using XML editor, which doesn't show the designer (I suspected too that I had something to do with rendering my XAML) but it didn't help.
Then I found this post. In the "workarounds" section there is the solution works for me: exclude visual studio 2013 (devenv.exe) process from windows defender (the Antimalware Service Executable process) so it won't scan it when VS is apparently making a fuss so windows defender felt necessary to monitor that. This feels weird and I don't know what windows defender did (especially that I only tried to save a XAML file which essentially is a modification to one text file anyway).
Upvotes: 1