Home All Groups Group Topic Archive Search About

References in multiple projects solution

Author
12 Sep 2006 7:37 AM
SHB-MSDN
Hi,

I just encourntered the following problem. I have a Solution with one
WindowsForms startupprojekt and two class library projects a and b.
Now when compiling a seperately everthing is fine. Also when I compile the
Startup project seperately it's ok. Only if I select Build solution I got
the error:
The type or namespace name 'Windows' does not exist in the namespace
'System'

I had to insert a reference to Windows.Forms into my library dll a although
it's not using this namespace at all.

Any Idea what's the reason for this?



Best



Thomas

Author
12 Sep 2006 7:41 AM
SHB-MSDN
Sorry forget it, one of the GUI project source files was moved to the class
library project accidentely.

Thomas

<SHB-MSDN@newsgroup.nospam> schrieb im Newsbeitrag
Show quote
news:el2WZ5j1GHA.2196@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I just encourntered the following problem. I have a Solution with one
> WindowsForms startupprojekt and two class library projects a and b.
> Now when compiling a seperately everthing is fine. Also when I compile the
> Startup project seperately it's ok. Only if I select Build solution I got
> the error:
> The type or namespace name 'Windows' does not exist in the namespace
> 'System'
>
> I had to insert a reference to Windows.Forms into my library dll a
> although it's not using this namespace at all.
>
> Any Idea what's the reason for this?
>
>
>
> Best
>
>
>
> Thomas
>
>

AddThis Social Bookmark Button