zoukankan      html  css  js  c++  java
  • vs2008保存很慢,提速

    刚VS2008出问题了,很是不爽,随便保存个东西都要很久,CPU老高,风扇不停转。后来在网上搜寻,终于找到解决的办法,希望遇到这个问题的少走弯路。

    症状是:保存文件很慢,哪怕是修改一个变量,也要等上大概20秒,最开始的时候关闭VS,再打开,查看是不是磁盘空间不够 没有什么异样,保存的时候那个保存图标不停的闪,就是不停,最后看一篇外国网站上的文章解决了问题。英文水平不曾么样, 大致是这么说的。

    保存文件的时候,VS2008会在局域网内寻找一个主机当这个主机不在线的时候vs2008得不到回应知道时间超过限制(大概是20秒),这个主机在注册表中的位置是:

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList

    这个表项保存的是VS2008最近打开的项目信息,把这个文件夹去掉之后就好了,再次打开VS2008的时候会发现左边“最近的项目”这个框下面变空了。

    下面是网上找的提高vs速度的技巧

    下面是在网上找到的加速VS2005的6个步骤, 除了第一条, VS2008还没有相应的SP1之外, 其余5条同样适用于VS2008, 下面我给各条加上更改选项的图片.

    =====================================

    Speed up Visual Studio 2005

    • Make sure Visual Studio 2005 SP1 is installed.
    • Turn off animation.
      Go to Tools | Options | Environment and uncheck Animate environment tools.

    • Disable Navigation Bar.
      If you are using ReSharper, you don't need VS2005 to update the list of methods and fields at the top of the file (CTRL-F12 does this nicely). Go to Tools | Options | Text Editor | C# and uncheck Navigation bar.

    • Turn off Track Changes.
      Go to Tools | Options | Text Editor and uncheck Track changes. This will reduce overhead and speeds up IDE response.

    • Turn off Track Active item.
      This will turn off jumping in the explorer whenever you select different files in different projects. Go to Tools | Options | Projects and Solutions and uncheck Track Active Item in Solution Explorer. This will ensure that if you are moving across files in different projects, left pane will still be steady instead of jumping around.

    • Turn off AutoToolboxPopulate.
      There is an option in VS 2005 that will cause VS to automatically populate the toolbox with any controls you compile as part of your solution. This is a useful feature when developing controls since it updates them when you build, but it can cause VS to end up taking a long time in some circumstances. To disable this option, select the Tools | Options | Windows Forms Designer and then set AutoToolboxPopulate to False.

  • 相关阅读:
    横竖屏
    iOS/Android·全球
    POKEMON GO(口袋妖怪)一起玩
    自定义宏
    设置button图片和文字
    iOS10 降级版本到9.几
    1.安装Loucust
    python小程序打包
    Jmeter GIS调用-->参数化+正则表达式提取器+后置处理器+逻辑控制器
    装PIL库
  • 原文地址:https://www.cnblogs.com/lvcha/p/1707890.html
Copyright © 2011-2022 走看看