Anthony
Anthony

Reputation: 923

calling a vb.net class from c# in VS2010

So i am working on a wpf browser project in c# but on of the class library's I need is in vb.net. So in VS2010 I have imported the solution called vblib and it shows up on the solution explorer. The class i need is public class vbintopm. So right now I have

using vblib;

       //down a few lines
vbintopm callvb= new vbintopm;

> now I keep getting errors that VS can't find class even though its in the solution explorer. What do i need to fix to this?

Upvotes: 0

Views: 864

Answers (1)

Dean Harding
Dean Harding

Reputation: 72658

You need to actually reference the library from your C# project. Right-click the project and then select "Add Reference". On the "Projects" tab, select the project and click "OK".

Upvotes: 4

Related Questions