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

Reply via email to