问题描述
我正在尝试在我的 Win 7 Pro 开发盒上的 XP VM 中运行 VS 2010.
I'm trying to run VS 2010 in an XP VM on my Win 7 Pro development box.
它基本上可以工作,但是在这种环境中实际编辑代码时,我的编辑能力不断停止&口吃很长一段时间 - 假设每 50 秒运行环境暂停 20 秒.
It basically works, but when actually editing code in this environment, my ability to edit constantly stops & stutters for longish periods of time - say 20 seconds of pause for every 50 seconds of functioning environment.
这台电脑正常运行 VS 2010 没有任何困难,而且我没有在主要的 Win 7 操作系统下运行任何内存、CPU 或 HDD 密集型的东西.虚拟机上没有任何运行可以解释这些暂停.
This PC has no difficulties running VS 2010 normally, and I'm not running anything under the main Win 7 OS that is memory or CPU or HDD intensive. There is nothing running on the VM that would explain these pauses either.
我能看到的是:1) 硬盘指示灯常亮.2)在VSS状态栏上,有一个文件的图标(通常是白纸图标),上面有两个黄色的加号(+)——非常类似于编译动画.
What I can see are:1) the HDD indicator is lit a lot of the time.2) on the VSS status bar, there is an icon of a file (usual white paper icon) with two yellow plus (+) symbols on it - very similar to the compilation animation.
我必须假设 #2 是在我使用环境时尝试在后台编译代码库的智能感知......但是当我在我的主操作系统上进行开发时它不会导致暂停(非虚拟机环境).它似乎永远不会结束......这个符号会持续很长时间,然后我可以输入几分钟,然后它就会永远回来.
I have to assume that #2 is the intellisense attempting to compile the code base in the background as I'm using the environment... but it doesn't cause pauses when I do development on my main OS (non-VM environment). And it never seems to end... this symbol goes for a long time, then I can type for a few moments, then it comes back forever.
在这一点上,VS2010 在这个 VM 中作为编辑器是非常无用的.
At this point, VS2010 is pretty useless in this VM as an editor.
我已尝试根据 MS 的说明从选项"对话框中禁用智能感知:http://msdn.microsoft.com/en-us/library/ecfczya1.aspx
I've tried to disable the intellisense from the Options dialog according MS's instructions:http://msdn.microsoft.com/en-us/library/ecfczya1.aspx
但这似乎没什么区别,让我怀疑 WT?
But that seemed to make no difference, making me wonder WT?
有什么想法吗???
推荐答案
++ 是 Intellisense.
The ++ is Intellisense.
我遇到的问题是磁盘速度.这是难以置信的磁盘 I/O 密集型,因此您需要尽一切可能使 VM 的磁盘 I/O 响应,或关闭 Intellisense(例如,确保虚拟磁盘是本地的,在快速驱动器(ssd!)上,也许使用真实驱动器而不是虚拟驱动器等)
The issue I was running into was the disk speed. It's incredibly disk I/O intensive, so you need to do everything you can to make the VM's disk I/O responsive, or turn off Intellisense (e.g. make sure the virtual disk is local, on a speedy drive (ssd!), maybe use a real drive instead of a virtual drive, etc.)
这篇关于VS 2010:状态栏上的 ++ 文件符号是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!