G
Guest
Hello,
I have a solution with mixed Code (VB.net and C#-Projects).
When I'm trying to build an instance of a C#-Class in a VB.Net-Project there will not be a problem. But if I further try to hand over another class to the instanced C#-Class (which should be done by a property) I 'll be faced with the following translated Error: "C:\...\x.vb(Line No.): A reference to the assembly 'Assembly, containing the class which should be handed over from vb.net to c#', which contains the type ' class ', is necessary. Add one to your project."
But I have already added this reference to both projects (VB.net, C# ) and the versions of the referenced DLLs are the same, so I can't understand my error.
The class which should be handed over is a further VB.Net class.
This Error occurs only form VB.Net to C#.
Who has some help for me.
Thank you in advance.
I have a solution with mixed Code (VB.net and C#-Projects).
When I'm trying to build an instance of a C#-Class in a VB.Net-Project there will not be a problem. But if I further try to hand over another class to the instanced C#-Class (which should be done by a property) I 'll be faced with the following translated Error: "C:\...\x.vb(Line No.): A reference to the assembly 'Assembly, containing the class which should be handed over from vb.net to c#', which contains the type ' class ', is necessary. Add one to your project."
But I have already added this reference to both projects (VB.net, C# ) and the versions of the referenced DLLs are the same, so I can't understand my error.
The class which should be handed over is a further VB.Net class.
This Error occurs only form VB.Net to C#.
Who has some help for me.
Thank you in advance.