尝试在VS中添加文件时加载类型库/DLL时出错(HRESULT:0x80029C4A) [英] Error loading type library/DLL when I try to add file in VS (HRESULT: 0x80029C4A)

查看:154
本文介绍了尝试在VS中添加文件时加载类型库/DLL时出错(HRESULT:0x80029C4A)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Web项目中创建视图时遇到麻烦.

I have a trouble when I try to create a view in my web project.

这是我的错误消息:

There was an error running the selected code generator: 'Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))'

我已经检查了其他回复.如果我以管理员身份运行或不运行,则同样.我有一台没有同一操作系统+ VS的错误的计算机.如果有什么可以复制的,我可以做到.

I've already checked other response. If I run as admin or none, same issue. I have another computer that hasn't this error with same OS + VS. If there is something to copy, I can do it.

我没有在事件查看器中找到此异常以查看详细信息(如何?)

I don't find this exception in event viewer to see details (how?)

预先感谢

推荐答案

我终于使用Visual Studio的修复工具解决了这个问题.

I finally fixed this by using repair tool of Visual Studio.

对于维修无济于事的人,这是我为解决此问题而阅读的经整理的东西:

For people that repair will not help, this is compiled things I've read to fix this issue:

  1. 通过CLI VS设置重置:vswindexpress/resetuserdata- geoffwebbercross博客帖子
  2. 通过Doc/AppSettings和regedit重置
  3. 重建项目,重新启动VS,重新启动计算机
  4. 修复VS(这解决了我的问题)msdn

这篇关于尝试在VS中添加文件时加载类型库/DLL时出错(HRESULT:0x80029C4A)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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