- IDE: VS2010
- Framework.net: 4.0
I created a c# dll project under Visual Studio 2010, with several public classes, and I would like to use its classes inside another dll project, but written in vb.net.
In the vb.net dll project, I referenced the built c# dll, but impossible to import the c# classes. The namespace of the c# dll is even not recognized.
What must I do to see my c# classes? If this is possible.
Example of class of my c# dll (namespace MyCSharpDll):
namespace MyCSharpNamespace {
public class MyCSharpClass {
public void Test() {}
}
}
Example in a file of my vb.net dll:
Imports MyCSharpDll.MyCSharpNamespace
VS2010 indicates an error saying that MyCSharpDll is unknown or no public member.
Thank you.