The third party class is not loaded into "use". Where are the additional classes installed?

I have a third party library installed but no accompanying namespace was found.

The type or namespace name 'Maverick' could not be found (are you missing a using directive or an assembly reference?)

      

Fairly, VS 2010 can't find it. But where does my system look for third party libraries? Can I change the list of locations?

+2


a source to share


3 answers


using

does not trigger a download or link to a library. This makes the classes in that namespace available for use without their namespace prefix.



Before you can use the library, you need to reference it in your project. Go to the "Project" menu and select "Add Link ...". In this dialog, you can select the libraries that were installed in the GAC, you can navigate to the explicit DLL, or you can reference another project in your solution.

+5


a source


The framework looks for libraries in the GAC and bin folder. Anyway, you need to add the library reference in your project



+2


a source


Have you added an assembly reference in your visual studio project? I have not used VS 2010, in 2008/5 you go to your project links section in solution explorer and right click and select link. Then you can choose the build location.

+1


a source







All Articles