vs右键在浏览器中查看报错 vs2019 附加项目出错:无法打开项目文件。 无法找到 .NET SDK

vs右键在浏览器中查看报错Visual studio 右键在浏览器中查看报错HTTP错误500.30——ANCM进程内启动失败——.NET Core HTTP Error 500.30 - ANCM In-Process Start Failure - .NET Core

HTTP Error 500.30 - ANCM In-Process Start Failure

Common solutions to this issue:

  • The application failed to start
  • The application started but then stopped
  • The application started but threw an exception during startup

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process' stdout messages
  • Attach a debugger to the application process and inspect

 vs2022第一个解决方法 在扩展选项卡 更新扩展live share和Web live preview  也有可能不是netxx的sdk下载后解决

.netcore项目可能是出不来的 2019出不来, 2022可以正常右键运行

.netframework 可以正常右键出来 

.netcore项目就一直报下面这个,还是没找原因,但是VS2022没报错 就没管了

HTTP Error 500.30 - ASP.NET Core app failed to start

Common solutions to this issue:

  • The app failed to start
  • The app started but then stopped
  • The app started but threw an exception during startup

Troubleshooting steps:

  • Check the system event log for error messages
  • Enable logging the application process' stdout messages
  • Attach a debugger to the application process and inspect

vs2019 附加项目出错:无法打开项目文件。 无法找到 .NET SDK

无法打开项目文件。 无法找到 .NET SDK。请检查确保已安装此项且 global.json 中指定的版本(如有)与所安装的版本相匹配

解决方法:

打开系统环境变量

把“C:\Program Files (x86)\dotnet\”放到“C:\Program Files\dotnet\”后面,然后确定保存,重启下电脑就可以了改后重启再打开项目

最近更新

  1. TCP协议是安全的吗?

    2024-03-28 16:54:04       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-28 16:54:04       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-28 16:54:04       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-28 16:54:04       20 阅读

热门阅读

  1. Python的json格式处理

    2024-03-28 16:54:04       21 阅读
  2. 2024.3.25每日一题

    2024-03-28 16:54:04       22 阅读
  3. shell中的浮点类型数值如何进行比较运算

    2024-03-28 16:54:04       23 阅读
  4. python将输出保存到txt文档

    2024-03-28 16:54:04       20 阅读
  5. C# 接口 interface

    2024-03-28 16:54:04       20 阅读
  6. 【保姆级讲解Node.js常用的命令】

    2024-03-28 16:54:04       20 阅读
  7. 前端学习——nodejs篇

    2024-03-28 16:54:04       20 阅读
  8. 【无标题】

    2024-03-28 16:54:04       15 阅读
  9. 什么才是一个男人身上最大的魅力?

    2024-03-28 16:54:04       19 阅读
  10. python面试题(1~10)

    2024-03-28 16:54:04       16 阅读
  11. js的事件

    2024-03-28 16:54:04       15 阅读