无法加载类型“Microsoft.VisualBasic.PowerPacks.OvalShape”来自 'Microsoft.VisualBasic.PowerPacks.Vs - ClickOnce
我想知道是否有人可以指出我解决这个问题的正确方向。我有一个使用 Click Once 进行部署的应用程序。当我尝试在较旧的 Windows XP 计算机上部署它时,出现以下错误。
需要系统更新。无法安装或运行该应用程序。该应用程序要求 首先将程序集 Microsoft.VisualBasic.PowerPacks.Vs 版本 10.0.0.0 安装在全局程序集缓存 (GAC) 中。
当我查看该计算机上的 GAC (C:\Windows\Assemblies) 时,我看到“Microsoft.VisualBasic.PowerPacks.Vs”,以及版本列中的 10.0.0.0。此外,当我右键单击该程序集时,我可以选择卸载它。 (这意味着它已经安装,使得上面的错误毫无价值)
在项目的先决条件对话框中,“Microsoft Visual Basic PowerPacks 10.0”被标记为先决条件。此外,还有“从组件供应商的网站下载先决条件”选项。被选中。如果安装程序认为没有安装 Power Pack,为什么不去下载它呢?
有谁知道这里真正的问题是什么?
谢谢
I am wondering if someone can point me in the right direction to solving this problem. I have an application that uses Click Once to deploy. When I try deploying it on an older Windows XP machine, I get the following error.
System Update Required. Unable to install or run the application. The application requires that
assembly Microsoft.VisualBasic.PowerPacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) First.
When I look at the GAC on that machine (C:\Windows\Assemblies), I see "Microsoft.VisualBasic.PowerPacks.Vs", along with 10.0.0.0 in the version column. Furthermore, when I right click on that assembly, I get the option to uninstall it. (which implies it is already installed, making the error above worthless)
In the Prerequisites dialog for the project, the "Microsoft Visual Basic PowerPacks 10.0" is marked as a prerequisite. Also, the option for "Download prerequisites from component vendor's web site." is selected. If the installer does not think the Power Pack is installed, why does it not go and download it?
Does anyone know what the real issue is at hand here?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 Visual Basic Power pack 中的任何项目(例如直线、矩形等),您需要添加对 VB Power pack 的引用,并将引用复制到本地。
此处显示了详细指南。
If you are using any of item from Visual Basic Power pack (e.g line. rectangle etc..), you need to add a reference to VB Power pack, and copy the reference to local.
A detailed guide is shown here.