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.

 

 


 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Thursday, February 02, 2006 7:16 AM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910