|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
References in multiple projects solutionI 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 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 > > |
|||||||||||||||||||||||