如何在Visual Studio 2022预览中禁用代码分析?

发布于 2025-02-06 10:39:11 字数 709 浏览 1 评论 0 原文

我阅读

“在此处输入映像”

”

但是在我的Visual Studio 2022 Preview preview preview ,我不能使用它。如何在没有GUI或其他方式的情况下禁用代码分析?

I read https://learn.microsoft.com/visualstudio/code-quality/analyzers-faq#code-analysis-solution-property-page

enter image description here

enter image description here

but in my Visual Studio 2022 Preview, I cannot use it. How to disable Code Analysis without GUI or other way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

说不完的你爱 2025-02-13 10:39:11

我刚刚在VS2022中找到了解决方案。转到工具 - > options-> text Editor-> c# - 删除复选框以进行以下

  • 启用拉动诊断(实验,需要重新启动)
  • 启用剃须刀。
  • 运行代码分析..

在执行此操作后,待定的待处理将为我解决。

I just got the solution for it in VS2022. Go to Tools->Options->Text Editor->C#->Advance-> Remove check box for following

  • Enable Pull Diagnostic (Experimental, require restart)
  • Enable Razor Pull..
  • Run Code Analysis..

After doing this this long pending get resolved for me

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文