什么是程序集 EnvDTE 8.0.0.0?
我在 VS 2010 中制作了一个小型控制台应用程序,我刚刚发布了它,然后将其安装在另一台电脑(Win XP Sp3)上。安装程序让我更新了 .Net 框架,我这样做了,然后当我去运行实际安装应用程序的第二部分时,我收到以下模式框:
无法安装或运行应用程序。该应用程序要求首先将程序集 EnvDTE 版本 8.0.0.0 安装在全局程序集缓存 (GAC) 中。
请联系您的系统管理员。
EnvDTE v8.0.0.0 到底是什么???
这是一个小型应用程序,它对 api 进行小型网络调用并返回结果。我确实使用 Codesmith/Nettiers(包括企业库)生成的一些代码进行数据库调用以进行选择和更新。不过,这些文件已在应用程序中引用。
有什么想法可以解决或解决这个问题吗?
I made a small console app in VS 2010 and I just published it and went to install it on another pc (Win XP Sp3). The installer made me update the .Net framework, which I did and then when i went to run th second part which actually installs the app I am getting the following modal box:
Unable to install or run the application. the application requires that assembly EnvDTE Version 8.0.0.0 be installed in the Global Assembly cache (GAC) first.
Please contact your system administrator.
What in the world is EnvDTE v8.0.0.0????
This is a tiny app which does a small web call to an api and returns the results. I do make a DB call for a select and and update using some generated code from Codesmith/Nettiers (including enterprise Library). These files are referenced in the app though already.
Any ideas how to fix or work around this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 Zabba 在他的评论中所说(不知道为什么他没有回答这个问题),EnvDTE.dll 用于自动化 Visual Studio。由于某种原因,您在项目中添加了对此的引用。
打开您的解决方案,查看所有解决方案项目中的引用节点,然后删除指向 EnvDTE 的任何引用。
它通常不会神奇地出现在您的参考列表中;您要么必须添加它,要么您用于创建项目的项目模板引用了它,或者您添加了一个其模板添加了此引用的项目。
EnvDTE.dll is, as Zabba said in his comment (not sure why he didn't answer with this) used to automate Visual Studio. For some reason, you have added a reference to this in your project.
Open your solution, look at the References node in all your solution projects, and delete any reference pointing to EnvDTE.
It doesn't normally magically appear in your reference list; you either have to add it, or the project template you used to create your project referenced it, or you added an item whose template added this reference.