Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Basic PowerPacks from 2010 not working in 2013?

I have been using Visual Studio 2010 on my old computer, and I have used PowerPack shapes in my designer. In VS2013, I have installed the PowerPacks but it keeps complaining that it cannot find anything related.

Type 'Microsoft.VisualBasic.PowerPacks.ShapeContainer' is not defined.

This is happening for OvalShape and a few others, not just this. Any help appreciated :)

like image 240
numbermaniac Avatar asked Jan 22 '14 04:01

numbermaniac


People also ask

What is Visual Basic Power Pack?

NET first appeared, it was missing many features that developers had found extremely useful in Visual Basic 6. Power Packs were invented to provide objects and tools to fill the need for these missing features and to make programming easier and more productive in general.


1 Answers

It looks like your program is not able to find the reference to your VisualBasic PowerPack extension. Try right clicking on References select add reference then goto Assemblys --> Extensions scroll down and find the Microsoft.VisualBasic.PowerPacks.VS Reference remove the checkmark there and select the Microsoft.VisualBasic.PowerPacks reference and click ok, that should fix it for you. You probably will also need to remove the reference that has the yellow exclamation mark.

It looks like the extension's name has changed from Microsoft.VisualBasic.PowerPacks.VS to Microsoft.VisualBasic.PowerPacks. Since I have both VS2010 and VS2013 on my laptop I show both of them.

enter image description here

like image 197
Mark Hall Avatar answered Sep 18 '22 14:09

Mark Hall