How can I access a C # internal property from a VB.NET project in the same solution?
1 answer
You need to collect assembly friends with InternalsVisibleTo attribute .
Assuming you are not signing your assemblies, this is as simple as adding the assembly level InternalsVisibleTo to your C # project named VB.Net assembly. You usually do this in AssemblyInfo.cs (in the Properties folder)
[assembly:InternalsVisibleTo("MyVbAssemblyName")]
+10
source to share