Namespace can't be shared between 2 assemblies in Visual Studio 2005

I have VB library that references C# library. C# library has a few classes with namespace FSWeb. And a few VB modules called this classes without any problem.

When  I've added to the VB Project a new class with the same namespace specified, the c# classes became invisible in all VB classes for both compiler and intellisence with the errors like:

Error 231 'Search' is not a member of 'FSWeb'. 
Error 230 Type 'FSWeb.LoginHelper' is not defined. 

When I type “FSWeb.” intellisence shows only the class from the current VB assembly.

The workaround is obviously use different namespaces for different assemblies.

I reported this  to  MS as a  bug.

 

 


 

posted @ Thursday, February 02, 2006 7:16 AM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345