VSix 部署失败 - 目标计算机上是否需要 VS SDK?
我有一个 vsix 软件包,已在我的计算机上构建并安装并且运行良好。我尝试在没有 VS Sdk 的计算机上双击安装。当我单击 View-OtherWindow 中的图标时,我收到一条错误消息,指出“调用目标已引发异常”。有什么想法吗?
I have a vsix package that has been built and installed on my machine and works well. I tried a double click install on a machine that does not have the VS Sdk. When I click on the icon in the View-OtherWindow I get an error that says "exception has been thrown by the target of the invocation". Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目标计算机上不需要 VS SDK 来部署 VSIX。您可能依赖于 SDK 中的 DLL,需要使用 VSIX 进行部署。但这只是无意义的猜测,因为异常消息非常模糊。
解决此问题的最佳方法是在目标计算机上连接调试器并查看异常的根本原因是什么。了解这一点将有助于我们追踪这个问题。
The VS SDK is not required on the target machine to deploy a VSIX. It is possible that you are relying on DLL's from the SDK which need to be deployed with the VSIX. That's just idle speculation though because the exception message is very vague.
The best way to tackle this problem is to hook up a debugger on the target machine and see what the root cause exception is. Knowing that will help us track down this issue.