MissingMethodException when calling a class library from a third-party application

I get a MissingMethodException (link to a specific method) when I call a method in the corporate library from a third-party application with an OnBase script. The object to which the method is called already exists and other calls continue to this point.

Things I confirmed:

  • Other links from this library work correctly.
  • Open method
  • The version of the DLL referenced by the script has a method (rebuilt the assembly and imported it again, displays the current date as the created date, and OnBase shows the correct updated version number)
  • No dll versions in GAC
  • The server application has been restarted since import

It should also be noted that the completion of the script editor code in OnBase also cannot find this method, but it also manages to build.

  • What are the more unusual places where I should look for an old dll?
  • Are there any specific OnBase locations?
  • What other reasons could there be?
+4
source share
1 answer

To clarify, assembly 1 refers to a script and contains a method that returns without errors, and assembly 2 is referenced by assembly 1 and script both. Assembly 2 works in all cases, assembly 1 works, except for this method.

, 1 script 2, , , 2, 1, , , , DoStuff (v1.Foo), DoStuff (v2.Foo) . , , DoStuff (Foo) .

0

Source: https://habr.com/ru/post/1693087/


All Articles