the perfect working environment part 2

It’s been some time since I made a picture of my workplace…and since that time one more display arrived… so here are two up-to-date pictures:



as usual from left to right: Mac mini (Samsung TFT 910T), custom P4 (Samsung TFT 910T+19″ Highscreen), HP compaq nc8000 (Belinea 108025, built-in 15″ TFT).

Source: The perfect working environment part 1

weird castings and the “solution”

So I was bugged by some kind of weird error message from Visual Studio and the .NET Framework… I even tried to debug it in Visual Studio 2005 Beta 2… and I got this “funny” error message:




“Unable to cast object of type multeem.IRC.IRCServer to type multeem.IRC.IRCServer

After trying this and that the whole day without any progress I got a tip from Alex here…

“The problem results of the fact that IRCServer.dll is located in the program folder (bin\Debug) and in the plugins folder (bin\Debug\Plugins). If you delete IRCServer.dll from the plugins directory it will work.
Seems like .NET is confused by a type that’s defined in two assemblies that are loaded at the time of the cast/assignment.”

Thank you Alex!!