Visual Studio 2017 HRESULT:0x80004004 [英] Visual Studio 2017 HRESULT: 0x80004004

查看:313
本文介绍了Visual Studio 2017 HRESULT:0x80004004的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在docker容器中完美地运行了一个ASP.NET Core项目,但是随后我在相同的解决方案中创建了另一个项目,第一个项目引用了该项目.
在构建时,VS 2017没有抱怨.调试时,VS表示:
操作异常终止(来自HRESULT的异常:0x80004004(E_ABORT))"
然后,我尝试使用新项目(这次仅一次)创建一个新的解决方案.发生了同样的事情:成功构建,调试-不可能.重新启动计算机不起作用,VS都没有管理员权限.

I was perfectly running an ASP.NET Core project in a docker container, but then I created another project in the same solution, which was referenced by the first one.
When building, VS 2017 didn't complain. When debugging, VS says:
"Operation aborted (Exception from HRESULT: 0x80004004 (E_ABORT))"
Then I tried creating a new solution with new project (Only one this time). Same thing happened: Build successfull, debugging - impossible. Restarting computer did't work, neither VS with admin privilages.

我该如何解决?我已经准备好将整个项目搞定,并在需要时从头开始.我希望得到任何回应.预先感谢.

How can I fix that? I am ready to screw the whole project and start all over, if needed. I appriciate any response. Thanks in advance.

推荐答案

通过这些更简单的步骤将其修复;)

Fixed it with these simpler steps ;)

  1. 在Docker for Windows中重置共享驱动器. (如果需要,请使用重置凭据链接重新输入您的凭据)
  2. 清理您的VS解决方案并重建
  3. 调试

这篇关于Visual Studio 2017 HRESULT:0x80004004的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆