- IDE: VS2010
- Framework.net: 4.0
I created a C # dll project in 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-in C # dll, but it was not possible to import C # classes. The C # dll namespace is not even recognized.
What should I do to see my C # classes? If possible.
Example class of my C # dll (namespace MyCSharpDll):
namespace MyCSharpNamespace { public class MyCSharpClass { public void Test() {} } }
An example in my vb.net dll file:
Imports MyCSharpDll.MyCSharpNamespace
VS2010 indicates an error indicating that MyCSharpDll is unknown or does not have an open item.
Thanks.
Alain source share