简体   繁体   English

c# (.NET Framework) 上的 Visual Studio Community 2019 缓慢加载(无需调试即可启动)

[英]Visual Studio Community 2019 slow loading (start without debugging) on c# (.NET Framework)

I recently got a new hp pavilion gaming laptop and downloaded Visual studio 2019 on it, I study IT and I do my projects for now with the "C#: Console App (.Net Framework)".我最近买了一台新的 hp pavilion 游戏笔记本电脑,并在上面下载了 Visual Studio 2019,我学习 IT,现在我使用“C#: Console App (.Net Framework)”来完成我的项目。 But unlike with my old laptop, when I start the project (even with extremely simple commands like console.writeline) without debugging (Which supposedly should load instantly), it's taking about 15 seconds or more to load which is becoming really frustrating for me.但与我的旧笔记本电脑不同,当我在没有调试的情况下启动项目(即使使用非常简单的命令,如 console.writeline)(据说应该立即加载),加载大约需要 15 秒或更长时间,这让我非常沮丧。 Can anyone help?任何人都可以帮忙吗? Thank you in advance.先感谢您。

I had also faced this performance issue and below had helped me.我也遇到过这个性能问题,下面帮助了我。

Go to Tools > Options > Text Editor > c# > Advanced > Select 'Open Documents' under 'Background Aalysis scope'. Go 到工具 > 选项 > 文本编辑器 > c# > 高级 > Select 在“背景分析范围”下的“打开文档”。

Also go to task manager and end ServiceHub.RoselynCodeAnalysisService.exe还有 go 到任务管理器并结束ServiceHub.RoselynCodeAnalysisService.exe

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2019 中的调试问题 - C# - Issues with debugging in Visual Studio 2019 - C# 在 Visual Studio 2019 / .NET Framework 4.8 中确定 C# 版本 - Determine C# version in Visual Studio 2019 / .NET Framework 4.8 Visual Studio mac 2019(社区) - PresentationCore - 未找到 .Net Framework 4 的程序集 - Visual Studio mac 2019 (Community) - PresentationCore - Assembly not found for .Net Framework 4 .NET Framework 4.8 已安装但未在 Visual Studio 2019 社区中显示 - .NET Framework 4.8 is installed but not showing in Visual Studio 2019 community 在 Visual Studio 2019 社区中将 Azure API 链接到 C# ASP.Net 项目的问题 - Issue linking Azure API to C# ASP.Net project in Visual Studio 2019 Community Visual Studio 2019 C# Docker 调试进程附加错误 - Visual Studio 2019 C# Docker debugging process attach error 在 Visual Studio 2019 中调试时无法编辑 c# 代码 - unable to edit the c# code while debugging in visual studio 2019 如何在 Visual Studio 2005 或 2019 中为 .NET Framework 2.0 编译一个简单的 WinForms C# 应用程序? - How do I compile a simple WinForms C# application for .NET Framework 2.0 in Visual Studio 2005 or 2019? 如何防止在 Windows 窗体应用程序构建中创建 .exe.config(Visual Studio 社区 2019 - C#) - How prevent to create a .exe.config in a Windows Forms Application build (Visual Studio Community 2019 - C#) 安装2019 Visual Studio Community时,如何添加C#模板? - When Installing 2019 Visual Studio Community, how to add C# templates?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM