Closed dragoangel closed 3 years ago
Hi, thanks for your feedback. Can you open up a command prompt and run KeePass with the debug argument.
If you didn't specified the installation path of KeePass, you can use the following command:
"%PROGRAMFILES(X86)%\KeePass Password Safe 2\KeePass.exe" --debug
It will pop up a Message Box which shows you a detailed error report. Please send me this error report, that I can try solving this issue.
Ran into this too, v1.5.0 won't compile. Here's the debug log:
==============================================================================
Compiler 'null':
C:\Program Files\KeePass Password Safe 2> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files\KeePass Password Safe 2\KeePass.exe" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\QRCoder.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\OtpSharp.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\Yort.Ntp.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\zxing.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\zxing.presentation.dll" /out:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\About.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\About.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2Config.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthUtils.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpType.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthData.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Resources.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Settings.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Metadata file 'PresentationCore.dll' could not be found
error CS0006: Metadata file 'PresentationFramework.dll' could not be found
error CS0006: Metadata file 'WindowsBase.dll' could not be found
==============================================================================
Compiler 'v4.0':
C:\Program Files\KeePass Password Safe 2> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files\KeePass Password Safe 2\KeePass.exe" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\QRCoder.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\OtpSharp.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\Yort.Ntp.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\zxing.dll" /R:"C:\Users\username\AppData\Local\KeePass\PluginCache\pLPKerYNjERUfoYAcr1o\zxing.presentation.dll" /R:"System.Core.dll" /out:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\About.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\About.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2Config.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthUtils.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpType.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpAuthData.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Resources.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Settings.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\username\AppData\Local\Temp\54CF2E040A617B4D8FC8F0F75E211E5B\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Metadata file 'PresentationCore.dll' could not be found
error CS0006: Metadata file 'PresentationFramework.dll' could not be found
error CS0006: Metadata file 'WindowsBase.dll' could not be found
`
Thank you. Which Windows Version you are using?
Windows 10 Pro, 20H2 19042.804.
Hmm. Basically it should work. I have compiled it now with required minimum of .NET version 4.0. Just try it. Please tell me if it has worked.
You can test it with this pre-release: KeeOtp2 - 1.5.0.2(pre).zip
Hmm. Basically it should work. I have compiled it now with required minimum of .NET version 4.0. Just try it. Please tell me if it has worked.
You can test it with this pre-release: KeeOtp2 - 1.5.0.2(pre).zip
This one works fine.
Also have Windows 10 Pro, 20H2 19042.804. New version also not loading:
==============================================================================
Compiler 'null':
C:\Program Files\KeePass Password Safe 2> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files\KeePass Password Safe 2\KeePass.exe" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\QRCoder.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\OtpSharp.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\Yort.Ntp.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.presentation.dll" /out:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\About.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\About.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2Config.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthUtils.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpTime.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpType.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthData.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Resources.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Settings.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Metadata file 'PresentationCore.dll' could not be found
error CS0006: Metadata file 'PresentationFramework.dll' could not be found
error CS0006: Metadata file 'WindowsBase.dll' could not be found
==============================================================================
Compiler 'v4.0':
C:\Program Files\KeePass Password Safe 2> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files\KeePass Password Safe 2\KeePass.exe" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\QRCoder.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\OtpSharp.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\Yort.Ntp.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.dll" /R:"C:\Users\admin\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.presentation.dll" /R:"System.Core.dll" /out:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\About.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\About.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2Config.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthUtils.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpTime.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpType.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpAuthData.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Resources.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Settings.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\admin\AppData\Local\Temp\BDEEE4D18FE30349B4671F7C17CF0297\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Metadata file 'PresentationCore.dll' could not be found
error CS0006: Metadata file 'PresentationFramework.dll' could not be found
error CS0006: Metadata file 'WindowsBase.dll' could not be found
So the patched 1.5.0.2 compiles for me, but there's another issue: KeePass (or more specifically, .NET Framework) halts computer shutdown with this error:
System.NullReferenceException: at KeePass.Forms.MainForm.CleanUpEx() at KeePass.Forms.MainForm.OnFormClosed(Object sender, FormClosedEventArgs e) at System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e) at System.Windows.Forms.Form.WmClose(Message& m) at KeePass.Forms.MainForm.WndProc(Message& m) at KeeOtp2.KeeOtp2Ext.HotKeyProvider.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
For me 1.5.0.2(pre) also crashes Windows 10 Pro 2004 (Build 19041.450)
Error message in KeePass:
[Window Title] KeePass
[Content] Folgendes Plugin ist inkompatibel mit der aktuellen KeePass-Version: C:\Program Files (x86)\KeePass2x\Plugins\KeeOtp2\KeeOtp2.plgx
Besuchen Sie die Plugins-Webseite für eine entsprechende Version.
[Expanded Information] Der Vorgang ist aufgrund des aktuellen Zustands des Objekts ungültig. KeePass bei KeePass.Plugins.PlgxPlugin.Compile(String strTmpRoot, PlgxPluginInfo plgx, String strBuildPre, String strBuildPost) bei KeePass.Plugins.PlgxPlugin.ReadFile(BinaryReader br, PlgxPluginInfo plgx, IStatusLogger slStatus) bei KeePass.Plugins.PlgxPlugin.LoadPriv(String strFilePath, IStatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, TextWriter twLog) bei KeePass.Plugins.PlgxPlugin.Load(String strFilePath, IStatusLogger slStatus) System.String Compile(System.String, KeePass.Plugins.PlgxPluginInfo, System.String, System.String)
[^] Details [OK]
Debug Message:
============================================================================== Compiler 'null':
Y:> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files (x86)\KeePass2x\KeePass.exe" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\QRCoder.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\OtpSharp.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\Yort.Ntp.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.presentation.dll" /out:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\About.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\About.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2Config.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthUtils.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpTime.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpType.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthData.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Resources.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Settings.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5 Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Die Metadatendatei 'PresentationCore.dll' konnte nicht gefunden werden. error CS0006: Die Metadatendatei 'PresentationFramework.dll' konnte nicht gefunden werden. error CS0006: Die Metadatendatei 'WindowsBase.dll' konnte nicht gefunden werden.
============================================================================== Compiler 'v4.0':
Y:> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"PresentationCore.dll" /R:"PresentationFramework.dll" /R:"System.dll" /R:"System.Data.dll" /R:"System.Drawing.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.dll" /R:"WindowsBase.dll" /R:"C:\Program Files (x86)\KeePass2x\KeePass.exe" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\QRCoder.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\OtpSharp.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\Yort.Ntp.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.dll" /R:"C:\Users\myuser\AppData\Local\KeePass\PluginCache\N8lY0lHA3LHGGQ89Crc0\zxing.presentation.dll" /R:"System.Core.dll" /out:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2.dll" /debug- /optimize+ /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.About.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.OtpInformation.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Resources.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.Settings.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.ShowOneTimePasswords.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.Troubleshooting.resources" /res:"C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2.Forms.ShowQrCode.resources" -define:KP_V_2_47_0 "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\About.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\About.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2Config.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthExceptions.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthUtils.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\OtpInformation.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\OtpInformation.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpTime.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpType.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\KeeOtp2Ext.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpAuthData.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Resources.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\OtpSecretEncoding.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Settings.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Settings.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowOneTimePasswords.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowOneTimePasswords.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Properties\AssemblyInfo.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Troubleshooting.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\Troubleshooting.Designer.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowQrCode.cs" "C:\Users\myuser\AppData\Local\Temp\24E26E239D11324395E97CED15C8FDD1\KeeOtp2\Forms\ShowQrCode.Designer.cs"
Microsoft (R) Visual C# Compiler version 4.8.4084.0
for C# 5 Copyright (C) Microsoft Corporation. All rights reserved.
This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240
error CS0006: Die Metadatendatei 'PresentationCore.dll' konnte nicht gefunden werden. error CS0006: Die Metadatendatei 'PresentationFramework.dll' konnte nicht gefunden werden. error CS0006: Die Metadatendatei 'WindowsBase.dll' konnte nicht gefunden werden.
I have solved the issue. You can now download version 1.5.1 under releases.
Thank you all for your help!
Hi @tiuub, thank you :) it works
And sorry for offtopic, not think it requires additional issue, do you maintain https://chocolatey.org/packages/keepass-plugin-keeotp2/ ? It now fails to find install package: The package was not found with the source(s) listed. Thank you
Yes works for me too. Thanks a lot.
@dragoangel Thanks for your answer.
This issue was weird, because it worked fine on my two systems. I've tried a lot, but in the end it was a basic bug with x64 and x86 architecture. So for now I have added the missing libraries, which are somehow not available on x86 systems. So it should work.
To your other topic. I have uploaded this package to chocolatey on 25th February. But it is still unlisted, because it have to be approved by a moderator. It seems, that they are not that fast. Anyway I think it will be available in the next few weeks. For now, I have updated the headline in the README to "(Coming soon)".
Thank you for quick bug fix and details 😊, great job
@tiuub Hi, I want inform that your package now available on chocolatey.
So you can remove coming soon
and update package at chocolatey to latest as now it v1.4.1
Thank you a lot 😄 .
Thank you. I removed the tag and updated to 1.5.3.
Hi, on one PC it works fine, when on same version of KeePass on another PC - not. Previous release v1.4.1 works on both PCs, strange.
KeePass version:![image](https://user-images.githubusercontent.com/1865999/110101386-21cf1b00-7dac-11eb-9183-dd7bf3f4a339.png)
Error:![image](https://user-images.githubusercontent.com/1865999/110099505-0c58f180-7daa-11eb-99d8-3999735560d4.png)