I am trying to build a project in Visual Studio 2012 and i get this error
The type or namespace name 'PowerPacks' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?) Error 7 The type or namespace name 'PowerPacks' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?)
I have added the reference for PowerPacks,but still getting this error.
How shall i overcome this.
Elaborated on, from my comment:
Usually when this happens, and it can’t be resolved by adding the reference, it means that the type of project you’re using is incompatible with the type of the reference. This bites me a lot with the “.NET 4 Client Profile” vs the “.NET 4 Profile”.
I suspect that the problem you’re running into, based on your
windows-phonetag, is that theMicrosoft.VisualBasic.PowerPackslibrary is based onWindows.Form, which is not available on the phone. Thus, anything which would need it, like PowerPacks, is going to be incompatible with a phone project.I can’t point you to an equivalent library for the phone, but I wouldn’t be surprised if there’s already the functionality you want built into the phone libraries.