0

Help me figure out how to add dll to MAUI Blazor project I use INPAS DUAL CONNECTOR which registers the .NET assembly and places it in the path C:\WINDOWS\assembly\GAC_MSIL\DualConnector\1.3.11.2__c5588caae218f0db\DualConnector.dll I try to add it like this: Link Dispatcher

But it is added with errors, the path is empty

Dependencies

If I just add it as a link

Assemblies

Then when calling it, the program crashes with an exception

System.IO.FileNotFoundException: "Could not load file or assembly 'DualConnector, Version=1.3.11.2, Culture=neutral, PublicKeyToken=c5588caae218f0db'. The file specified cannot be found."

PS:

I was able to connect the library by setting the copy local parameter to true. But now an exception is thrown

System.MissingMethodException: "Method not found: 'System.Threading.Mutex System.Threading.Mutex.OpenExisting(System.String, System.Security.AccessControl.MutexRights)'."
3
  • I mean isn't it clear, that's not supported by .NET9 and hence you can't use it!! Commented Feb 20 at 15:37
  • If this is true, then why does "copy locally is true" cause the dll to successfully execute its methods except for one that depends on another dll? Commented Feb 21 at 3:34
  • I was able to connect the dll, but now another problem has arisen. This dll cannot call the method System.MissingMethodException: "Method not found: 'System.Threading.Mutex System.Threading.Mutex.OpenExisting(System.String, System.Security.AccessControl.MutexRights)'." Commented Feb 21 at 5:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.