【问题标题】:Visual Studio build fail but no error shownVisual Studio 构建失败,但未显示错误
【发布时间】:2021-03-25 14:42:36
【问题描述】:

有几个类似的问题,但没有一个真正适合我。
我想制作一个 .Net Core 应用程序 (API),但正如我所说,构建失败(即使使用默认应用程序)。如果我尝试继续,IIS 会显示“错误 500.0 - ANCM In-Process Handler Load Failure”。 尝试了一切,从重新启动 VS 到删除并重新安装它,但它不起作用。相反,它可以在虚拟机上运行,​​但不知道有什么区别。我该怎么办?

Microsoft Visual Studio 社区 2019 版本 16.8.3

【问题讨论】:

  • [Windows 错误注册] 应用程序:MSBuild.exe 框架版本:v4.0.30319 描述:进程因未处理的异常而终止异常:System.SpanHelpers.IndexOf(Char ByRef, Char, Int32) in System.MemoryExtensions.IndexOf[[System.Char, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.ReadOnlySpan`1, Char) ... 和许多其他行
  • @ken-y-n 是的,我看到了,但是不,它不起作用

标签: visual-studio


【解决方案1】:

我有同样的错误,但在 ASPNET 中你需要查看构建/调试输出中的错误

I've an error but that don't show

您需要在日志中找到错误

My error was an update Panel

//// 编辑: Try this: Select Entire Solution and Build Only to show the Errors

【讨论】:

  • 嗨,在之前的评论中,我写下了错误所在。可以看看吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-08-24
  • 2017-10-18
  • 2015-11-01
  • 2015-09-28
  • 2015-11-09
相关资源
最近更新 更多