Could not load type 'Microsoft.VisualBasic.PowerPacks.OvalShape' from 'Microsoft.VisualBasic.PowerPacks.Vs - ClickOnce
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 in开发者_运维知识库stalled, why does it not go and download it?
Does anyone know what the real issue is at hand here?
Thanks
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.
精彩评论