Comments (15)
I suppose something as mentioned in issue #24
Can you please try the same?
If not working, please let me know your .NET version
from keepassotp.
I have .NET Framework 4.8 installed, I'm gonna check if I can install 4.5.1 in addition to that.
from keepassotp.
It says
.NET Framework 4.5.1 or a later update is already installed on this computer.
So I guess that means 4.8 includes everything from 4.5.1 as well.
from keepassotp.
I'll try to set up a vm and check more in detail
from keepassotp.
Let me know if I can help. I'm not really a .NET developer, but I happen to have Visual Studio 2019 installed and I have checked out the code and opened the .sln file.
Don't really know how to run or debug or check for missing dependencies from here.
Have you seen this?
from keepassotp.
I fiddled around a bit more, I extracted the KeePass source to ..\_KeePass_Source
, removed the sgen
line from "Build Events" (because it failed) and ran a ReleasePlgx build and guess what, I have a KeePassOTP.plgx
that works with the KeePass.exe
that was also created. With the original KeePass.exe
(from the official release) and my KeePassOTP.plgx
I get the same error as shown above.
from keepassotp.
Thanks for your additional input!
Unfortunately I'm still not able to able to reproduce this (having issues with my Win 7 vm)
Can you meanwhile please try the attached version?
KeePassOTP.zip
from keepassotp.
Same issue.
from keepassotp.
OK, I'm running out of ideas since in my VM with Windows 7, there is no issue:
Windows 7 - WIndows NT 6.1.7601 Service Pack 1
KeePass 2.47 (64 bit)
KeePassOTP.zip
Can you please try once again with the attached version.
If the issue is not solved by this version:
- Does the error message relate to Version 2.0.0.0 or to Version 4.0.0.0?
- Does file Sytem.drawing.dll exist in folder c:\windows\assembly? which version?
- Did you try a repair of your dotnet installation - https://www.microsoft.com/download/details.aspx?id=30135
from keepassotp.
With this version I'm getting:
The error message only mentions version 4.0.0.0 (see screenshot above). With the version in your first ZIP the error message is the same.
In c:\windows\assembly
I have "Libraries" and there is one called "System.Drawing". It's version 2.0.0.0:
I'll run the repair now. I ran the repair and it did some stuff (two steps) but the issue remains.
from keepassotp.
Ok, at least there is some progress, at least I don't see any reference to the ResX file in your newest screenshots...
Please start KeePass with the -debug
Switch using the commandline or [Win]-[R]
KeePass will save a log file containing some more details and this hopefully helps me identifying this new issue
from keepassotp.
Here's the log for the latest zip: tmp9607.txt
I tried the plgx from the previous zip as well and I still get the error but it does not create a debug log, even with a cleared plugin cache. I guess the --debug
is only for compilation errors, not for runtime errors or something?
from keepassotp.
Error message The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading' (are you missing an assembly reference?)
is correct for .Net framework 3.5 since this was introduced with 4.0.
A plgx file essentially contains the entire sourcecode of the plugin and KeePass is using the .NET framework built-in compilers to actually compile it.
When doing this, KeePass uses these CompilerVersion:
- null (2.0)
- v3.5
- v4
- v4.0
- v4.0.30319
- v4.5
In your case either only 'null' (v2.0) and 'v3.5' are used by KeePass itself or the other compilers do not even return an error message.
Either way, I have no idea what is happening
Nevertheless, please use the attached version, it does not use System.Threading.Tasks and hopefully this one is working.
If not, there's nothing more that I can do.
KeePassOTP.zip
You're right, -debug
can help with compile issues but not if plugin compilation cannot even start (ResX file parsing)
from keepassotp.
Closing this as there is no negative feedback.
The meanwhile released version v0.24 contains the changes done in this issue
from keepassotp.
In case anyone has a similar issue... I got the same error ("is not compatible", but with different details) with KeePassOTP 1.4 and KeePass 2.47. However, after upgrading KeePass itself to 2.51.1, the error went away.
from keepassotp.
Related Issues (20)
- QR Code from Microsoft 365 account not supported HOT 2
- DNS-Lookups for each URL-Entity HOT 1
- KeePassOTP gets in conflict with KeeTrayTOTP-Plugin HOT 7
- export HOT 1
- Residual data after deleting database HOT 3
- KeePassOTP and KPEnhancedEntryView HOT 3
- KeePassOTP not showing up in KeePass HOT 2
- PROTONMAIL OTP DONT WORK WITH KEEPASSOTP HOT 3
- Unable to set up with yahoo, codes always wrong. HOT 2
- Confirmation for OTP deletion? HOT 1
- Recovery codes not saved if no TOTP/HOTP seed is set. HOT 4
- Copy OTP does not copy the OTP HOT 1
- KeePassOTP hotkey disabled in OTP plug-in option HOT 5
- 2FA support no longer working due to the API being deprecated HOT 3
- Database won't open HOT 1
- Add the value also to the TOTP column HOT 2
- Microsoft MFA Updated HOT 1
- Auto-type only types 1 digit. HOT 7
- 2 FA Directory and KPOTP Field HOT 2
- [Feature Request] KeePassOTP in a separate database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepassotp.