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.

  • 相关阅读:
    AWTK-MVVM:用 C 语言实现 Model
    MTU1500情况下,发送1460和1448长度数据
    linux mtu =1500情况下tcpdump抓包分析
    自己总结的pycharm超常用快捷键
    ICMP协议是IP层协议
    IP 分段
    ubuntu18.04安装中文输入法
    tcp 窗口大小
    flask学习笔记(二)
    开始学习前的环境安装
  • 原文地址:https://www.cnblogs.com/chencidi/p/2194725.html
Copyright © 2011-2022 走看看