Hi, I hope nobody minds the push since it relates directly (so in case someone ever has the same problem it is handled right here).
I cant get the code to work. I use Autocad 2011 with VS 2010 EE and the "AutoCAD 2011 .Net Wizards" from the Developer Center. All that on Win7 64 bit. Everything in German.
Debug starts fine, Autocad starts up. I can netload without problems.
But now, when I type attachxrefs, Autocad seems to do nothing and hangs. Nothing happens anymore. The only thing I can do is to end the debugging.
Or, when I type bindxrefs, then I get asked "Select xrefs to bind: " but as soon as I move the mouse or press a button I get an Autocad-error-message saying "SYSTEM ERROR: Unsupported version of Windows Presentation Foundation".
Does anybody have an idea? Thx.
EDIT:Sorry for the bother. I found the solution: The compiled dll may not be located on a network drive but must be local.
See also:
http://blog.jtbworld.com/2009/03/fatal-error-unsupported-version-of.htmland
http://www.cadtutor.net/forum/showthread.php?51395-VB.Net&s=5ef6ab1938a8d29d4590a757b34afe71