Article View: borland.public.csharpbuilder.language.csharp
Article #340Re: Compiling to EXE succeeds but not to DLL
From: Jon Shemitz
Date: Wed, 31 Aug 2005 17:49
Date: Wed, 31 Aug 2005 17:49
17 lines
1610 bytes
1610 bytes
Terentius Neo wrote: > I have two classes, A and B, both in the same namespace. If I compile > files to a DLL, the A class does not compile. The error message is > > "[C# Error] BaseObject.cs(69): The type or namespace name 'Logger' could > not be found (are you missing a using directive or an assembly reference?)" > > Note: there *is* using clause. If I compile both as part of the same EXE > there is no problem. The code is the same! My guess would be the executable project includes the Class B file, and the library project does not ... -- www.midnightbeach.com
Technical Details
Message-ID:
<4315EDC3.10CAC3DB@midnightbeach.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4315d8cc@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,abfc33e24e41b519 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4315EDC3.10CAC3DB@midnightbeach.com> Date: Wed, 31 Aug 2005 10:49:55 -0700 From: Jon Shemitz <jon@midnightbeach.com> Reply-To: jon@midnightbeach.com Organization: Midnight Beach X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en-US,en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Re: Compiling to EXE succeeds but not to DLL References: <4315d8cc@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.249.104.197 X-Trace: newsgroups.borland.com 1125510549 63.249.104.197 (31 Aug 2005 10:49:09 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail