System.MissingMethodException

System.MissingMethodException

StormyC
Advocate Advocate
601 Views
1 Reply
Message 1 of 2

System.MissingMethodException

StormyC
Advocate
Advocate

Im attempting to generate a library .dll that contains common functions for tools being developed for our office use.

 

Im testing with VS Express 2012 & AutoCAD 2016.  Sometimes I will get the "System.MissingMethodException" for a valid call made to the library .dll

 

I was wondering why its intermittent.  My library dll is referenced by the loaded .net module and is definately being loaded by AutoCAD because windows prevents it from being deleted.

 

Many thanks.

 

All works fine in AutoCAD 2014... Ive swapped out the Ref dlls for AutoCAD2016 and still get the error.  Odd different behaviour...

0 Likes
Accepted solutions (1)
602 Views
1 Reply
Reply (1)
Message 2 of 2

StormyC
Advocate
Advocate
Accepted solution

Ok found my problem...

 

I hadn't updated the Ref Dlls in the library .dll.

 

I now need for AutoCAD2016 an explicit conversion for LispDataType to int which is why the Method signature wasnt being found.

 

Still doesnt really explain the intermittent nature of the error though.....

0 Likes