Heather, The build.cmd in is the root of the log4net download. This build file will bootstrap the NAnt build for the current directory and recurse through the sub directories.
You need to make sure that the root log4net directory is in the path (not the directory with the log4net assembly), then run build.cmd. Alternatively from the cpp directory you can run it as ..\..\..\..\..\..\build.cmd Nicko > -----Original Message----- > From: Heather Macintosh [mailto:[EMAIL PROTECTED] > Sent: 28 July 2004 18:23 > To: [email protected] > Subject: cpp ConsoleApp compile problems > > Hi, > > I'm using log4net v1.2.0 Beta 8 and trying to get the example > C++ ConsoleApp to compile and am having a few difficulties. > Here is the current error that I am experiencing: > > ConsoleApp fatal error C1107: could not find assembly > '..\..\..\..\..\..\..\bin\net\1.0\release\log4net.dll': > please specify the assembly search path using /AI or by > setting the LIBPATH environment variable > > I set the assembly search path using /AI to > C:\logging-log4net\build\bin\net\1.0\release which is where > my log4net.dll (and the log4net.snk) is residing. Also, > relative to the ConsoleApp directory > (C:\logging-log4net\examples\net\1.0\Tutorials\ConsoleApp\cpp\ > src), the compiler should be able to find log4net.dll where > it is looking so I'm at a bit of a loss. > > I read the readme.html file in the ConsoleApp directory and > it gives the following instructions on building the app: > 1. Make sure that the log4net directory is in your path. > (done) 2. Type BUILD.cmd from the command line in the > language specific subdirectory for this example. > For this second step, there was no build.cmd file so I am > building it through .NET Framework v1.1.4322. > > regards, > Heather > >
