Hi ebarnhorst,

I've had the exact same problem when I tried to build the Demo project in Visual Studio 2005.

I was using the .Net 1.1 reference while Visual Studio 2005 build projects using the .NET 2.0 compiler. For me, this caused the problem.

I fixed it by referencing the DotNetAdapter_N2.dll and building it again.
Of course DotNetAdapter_N2.dll, DotNetServer_N2.exe and the .NET 2.0 version of log4net.dll should be included in the \adapters\StockList\DotNetAdapter\dotnet_2.0 folder as well.

I hope this helps!

Kind regards,
Erik.