Programing

Visual Studio 2015는 매우 느립니다.

lottogame 2020. 9. 20. 10:33
반응형

Visual Studio 2015는 매우 느립니다.


Visual Studio 2015 Professional Edition을 설치했으며 컴퓨터 사양은 Intel i7-3770 CPU 3.40GHz, 8GB RAM 및 Windows 7 Enterprise 64 비트입니다.

내 프로젝트를 Visual studio 2005 .NET 2.0으로 작성된 .NET 4.6으로 업그레이드하고 싶지만 속도에 대한 심각한 문제가 있습니다. Visual Studio 2015에서 내 프로젝트 (거대한 프로젝트)를 열면 미쳐 버립니다. 빌드, 디버깅, 메뉴 열기가 너무 느립니다. 때때로 "응답 없음"메시지가 나타납니다. Windows 7에 관한 것입니까, 아니면 내 속도 문제에 대한 조언을 해주실 수 있습니까?


이 사이트 에는 Visual Studio 성능을 개선하고 대규모 솔루션의 기능을 비활성화하는 방법에 대한 몇 가지 유용한 팁 포함되어 있습니다. 예를 들면 :

  1. 이동 -> 옵션 -> 텍스트 편집기 -> C #을 -> 고급 도구 의 선택을 취소 전체 솔루션 분석을 사용

  2. 이동 도구 -> 옵션 -> XAML 디자이너 -> 일반 의 선택을 취소 XAML 디자이너를 사용는 (비주얼 스튜디오의 다시 시작해야 함)

  3. 도구-> 옵션-> 텍스트 편집기-> 모든 언어로 이동하여 CodeLens 활성화를 선택 취소합니다.

  4. 이동 도구 -> 옵션 -> 디버깅 -> 일반 및 해제는 디버깅하는 동안 진단 도구 사용


다음 단계를 적용 할 수 있습니다.

  1. 메뉴로 이동 도구옵션소스 제어 및 설정 ... 현재 소스 제어없음

  2. 메뉴 도구옵션환경동기화 된 설정으로 이동 하고 확인란을 선택 취소하여이 옵션을 제거 합니다.

  3. 다음 캐시 폴더의 콘텐츠를 정리하고 ( 이 폴더를 삭제하지 말고 해당 콘텐츠 만 삭제 ) Visual Studio를 다시 시작합니다.

    • WebSiteCache 폴더 의 콘텐츠를 정리 합니다 (
      C : \ Users \ % USERNAME % \ AppData \ Local \ Microsoft \ WebSiteCache에서 찾을 수 있음 ).

    • Temporary ASP.NET Files 폴더 의 콘텐츠를 정리 합니다 (
      C : \ Users \ % USERNAME % \ AppData \ Local \ Temp \ Temporary ASP.NET Files에서 찾을 수 있음 ).

참고 : 당신이있는 경우 하드웨어 가속이 가능하거나 스튜디오 2013 스튜디오 2015 비주얼 또는 Visual 마이크로 소프트의 기본 비주얼 경험 설정을 사용하는 경우, 당신은 간헐적 인 성능 문제, 제품의 충돌, 또는 렌더링 문제가 발생할 수 있습니다. 이러한 문제를 해결하려면 메뉴 도구옵션환경일반으로 이동 하여 다음 설정을 적용하십시오.

여기에 이미지 설명 입력

자세한 내용 은 Visual Studio 2015 및 Visual Studio 2013에서 성능 문제, 제품 충돌 또는 렌더링 문제가 발생 함을 참조 하세요.

문제가 디버깅과 관련된 경우 Visual Studio 디버깅 / 매우 느리게로드 에 대한 해결 방법을 시도하십시오 .

이게 도움이 되길 바란다...


나는 큰 프로젝트를 가지고 있으며 이러한 종류의 속도 저하도 경험했습니다. Error List창의 범위를로 변경하여 성능을 허용 가능한 수준으로 개선 했습니다 Current Document.

또한에서 Build + IntelliSense으로 변경하여 개선을 얻 습니다 Build Only. 나는 인텔리 유용하기 때문에, 나는 유지하기 위해 타협 Build + IntelliSense과로 범위 지정 Current Document.

Visual Studio 2015 오류 목록 창


I have found that removing the ".vs" folder from your solution folder greatly increases editor speed if it becomes slow over time. It is a hidden folder in the root directory of your solution. I would recommend saving a backup of it just in case you need to revert. As far as I know, it holds user specific settings for the solution such as the .suo file as detailed here. You can try just removing the .suo file too. These folders/files will be regenerated by VS the next time you open and close that solution.


The Windows Defender Antimalware can cause Visual Studio to lag. As mentioned by Nostradamus in this answer:

Go to Update & Security -> Settings -> Windows Defender. Open the Defender and in the Settings selection, choose Exclusions and add the "devenv.exe' process.

Another thing I did was update ReSharper and every addon to the latest update.

I also noted that several processes called Microsoft Compatibility Telemetry, CompatTelRunner.exe was using a lot of CPU when I used Visual Studio. I disabled "Feedback and diagnostics" by following this guide.

It worked for me!


Is it possible that you were trying to do different operations on solution at the same time? In my situation, the problem appeared because I was trying to open solution, while there was a process from TFS, which was trying to get latest version. Some kind of lock happened. Safest way I thought of was to restart the system, delete .suo file and it worked for me.

What else: check if your visual studio version is 64bit on 64bit system, I have uninstalled some team foundation power tools and it screwed with my VS, it produced the same problems


Make sure you're not working on a solution that's on a network drive.

Seems like such an obvious thing, but I missed it, and VS gives you precisely no hints as to the problem, it's just lots of "Not Responding...".


For me the culprit was Resharper cache, simply clear Resharper cache and it works fine


I suggest the quickest and easier performance enhancement (for C#) is to replace VS 2015/2017 with VS2013.

C# is largely unchanged between versions. It just takes twice as long to use 2015/2017 and I am sure I am not the only one to waste time using later (better)compilers only to have to revert.

즉시 컴파일러를 사용하는 것을 기대하는 것이 부당하다고 생각하지 않습니다. 2013 년에는 할 수 있습니다.

Microsoft는 VS2019가 최소한 2013 (C #의 경우)만큼 빠른지 확인해야합니다.

참고 URL : https://stackoverflow.com/questions/34395686/visual-studio-2015-is-extremely-slow

반응형