.net - C# referenced VB UserControl not found -


I have a C # project where I refer to another project, which is written through VB. I can use all the sections and forms from the referenced project, 2. A class UserControl and the other Module , while all other simple Win Forms are " The name of a type or name space can not be obtained 'XXX' (do not you have access instructions or an assembly reference?) " I already have NET version (All projects are the same - NET 4 (not Client Profile) checked), Platform target and try to change other stuff, no one helps. Does anybody have any ideas?

UserControl and module . You may have forgotten the public modifier, because the default visibility of a class or module is protected ( friend in VB.Net)

  class [module] 'is not visible to other sects' ... end class public class [module] 'visible to other assemblies' ... end class  

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -