mlockett42 / litedb-async

This library allows the use of asynchronous programming techniques with the LiteDb library
Apache License 2.0
104 stars 13 forks source link

Unable to use in NET Framework applications, that require strong naming of all assemblies #23

Closed Pete-PlaytimeSolutions closed 1 year ago

Pete-PlaytimeSolutions commented 1 year ago

The main LiteDB library is signed with a String name snk, would it be possible to have this library signed too? As it doesn't play well within .NET Framework applications, that require strong naming of all assemblies.

mlockett42 commented 1 year ago

How can I set up an application which requires the LiteDB.Async library to be signed with a strong name?

I made a Dotnet Framework Console App put bypassTrustedAppStrongNames in the app.config file as per https://learn.microsoft.com/en-us/dotnet/standard/assembly/disable-strong-name-bypass-feature and referenced LiteDB.Async v0.1.3 via nuget.

The console app compiles, run, including a call into LiteDB.Async but everything run file.

This would be nice so I can verify once signed the problem is fixed.

@Pete-PlaytimeSolutions

Pete-PlaytimeSolutions commented 1 year ago

Hi One of our customers are using a commercial 3rd party framework that requires all libraries be signed.

It’s called “AddIn Express”, used for developing plug-ins for MS Word.

It requires a purchased license to use. I don’t know how else to do it, without using a licensed version of that framework

mlockett42 commented 1 year ago

I figured how to do it (must give the assembly referencing LiteDb.Async a strong name)

v0.1.4 in nuget should now work for you

Pete-PlaytimeSolutions commented 1 year ago

Thank you