leosac / keepassrfid

KeePass RFID/NFC Plugin for Smart Card
GNU General Public License v3.0
46 stars 9 forks source link

The following plugin is incompatible with the current KeePass version #11

Open tps800 opened 1 year ago

tps800 commented 1 year ago

KeePass2: 2.52 KeePassRFID: 2.2.0 LibLogicalAccess: 2.4.2

Install directory LibLogicalAccess is in PATH.

Error while loading "C:\Program Files\KeePass2\Plugin\KeePassRFID.dll": The following plugin is incompatible with the current KeePass version. The file or assembly "LibLogicalAccessNet, Version=2.4.0.0, Culture=neutral, PublicKeyToken=..." or any dependency could not be found.

LibLocicalAccess is installed into C:\Program Files\LibLogical\Access\x86 and C:\Program Files\LibLogical\Access\x86_64. Both paths are within PATH. The x86_64-path is sorted before the x86-path.

Maxhy commented 1 year ago

This looks related to #9.... Not sure why as this is not even a DllImport issue (yet 😅) which requires the native dlls to be somewhere in the PATH. LibLogicalAccessNet is a dotnet assembly and is embedded as part of the plgx file. Except if you used the dll file directly and not the plgx file? Which DotNet version are you using?

YoNevelt commented 1 year ago

I get the exact same error message. I use the latest version of all required software components (.NET is updarted via Windows Update but I also downloaded and installed the manual files as a part of trying to find a resolution).

Maxhy commented 1 year ago

Can you list all your .NET versions currently installed @YoNevelt? LibLogicalAccessNet/LibLogicalAccessNetCE is built targeting netstandard2.0, so you need at least one of the following runtime: https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-0 (Select .NET Standard version) Which I believe you have (.NET 6, right?), but as I don't have any other clue for now...

YoNevelt commented 1 year ago

Currently installed "classic" .NET Versions in the system: 2.0.50727.4927 Service Pack 2 3.0.30729.4926 Service Pack 2 3.5.30729.4926 Service Pack 1 4.0.0.0 4.8.04161