Add Assembly to MAUI

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)'."

Upvotes: 0

Views: 33

Answers (0)

Related Questions