markw

markw

  • NA
  • 1
  • 0

Namespaces and compilation (Visual C# 2005 beta related)

Oct 8 2004 10:06 AM
Hi all, Sorry if this is in the wrong place (couldn't see a forum dedicated to Visual C# 2005 Beta) or has been posted before. Until recently I used CSC and the command prompt to compile my C# classes. A colleague at work downloaded Visual C# 2005 beta a week or so ago and so I've been playing around with it. I have set up a solution with 3 sub-projects which are all encapsulated in their own namespaces. The "root namespace" field in the project properties has been left blank. However when I try and import these namespaces in my application after compiling them to DLLs and putting them into the /bin/ directory the system says it cannot find any of the namespaces. However, if I cut and paste the code from VS into a text editor then use CSC to compile them they work fine. Does anyone have any ideas about what VS is up to? When I use CSC to compile the classes they come out as about 6k. When I use VS they range from 20 to 40 so obviously it's up to something but Microsoft's help on the subject is practically non-existent. Thanks for your time, Mark