使用大量CPU的Visual Studio 2010和WPF [英] Visual studio 2010 and WPF using alot of CPU

查看:92
本文介绍了使用大量CPU的Visual Studio 2010和WPF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过一段时间的上网搜索,我可能是唯一一个经历过这种情况的人,所以去吧:

每当我更改XAML文件中的一行时; VS在双核上花费50%的时间(我的意思是差不多一分钟)会做某事.这真的很烦人,因为它会减慢系统速度.

如果我打开一个新项目并创建默认的xaml表单,则会发生这种情况.

是否有设置或我缺少的东西?我的笔记本电脑变得非常热,以至于在xaml中工作时几乎都无法使用它.在没有xaml Windows的代码中工作似乎可以.

感谢您的帮助.

After scouring the internet for awhile, I may be the only one experiencing this, so here goes:

Whenever I change a single line in a XAML file; VS will take alot (and I mean like almost a minute) of CPU time at 50% on a dual core, to do something. It''s really annoying as it slows down the system.

This happens if I open a new project and create the default xaml form.

Is there a setting or something that I''m missing? My laptop gets so incredibly hot that I almost can''t use it when working in xaml. Working in code with no xaml windows seems to be ok.

Thanks for any help.

推荐答案

对不起,VS 2010,带有Service Pack1.

只是在Windows 7中的笔记本电脑上进行了全新安装.

我能形容的最好方法就是在更改某些内容时编辑一个巨大的VB项目,它完全重新编译了该项目,并使系统陷入瘫痪.

我很喜欢借口拿起新笔记本电脑的想法.

我担心的是,在庞大的2.0 C#项目中我没有这些类型的问题,但是三个文件的wpf 3.5项目使计算机陷入停顿?
Sorry, VS 2010, with Service Pack 1.

Just did a clean install on the laptop in windows 7.

The best way I can describe it is like editing a huge VB project when you change something, it''s completely recompiling the project and just bogging down the system.

I do like the idea of an excuse to pick up a new laptop.

My concern is that I don''t have these types of issues in huge 2.0 C# projects, but a three file wpf 3.5 project brings the computer to a grinding halt?


这篇关于使用大量CPU的Visual Studio 2010和WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆