Hi Chris,
can you pls send your app, I still have some errors.
Regards
C# und X509Certificate2
Moderator: wriedmann
Re: C# und X509Certificate2
Hi Franz,
I didn't make any changes to the app you posted yesterday, it's the exact same code. I only removed the reference to pcsc-sharp.dll and added references to PCSC.dll and PCSC.Iso7816.dll, from the folders I mentioned in my previous post.
Did you also change the references? If yes, what errors are you getting now?
I didn't make any changes to the app you posted yesterday, it's the exact same code. I only removed the reference to pcsc-sharp.dll and added references to PCSC.dll and PCSC.Iso7816.dll, from the folders I mentioned in my previous post.
Did you also change the references? If yes, what errors are you getting now?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: C# und X509Certificate2
Hi Christ,
I attached a jpg which shows references and errors.
Regards
I attached a jpg which shows references and errors.
Regards
Re: C# und X509Certificate2
What about a readable version?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Re: C# und X509Certificate2
No problem Karl.
References
- PCSC
- PCSC.Iso7816
- System
- System.Core
- System.Numerics
- System.Security
- System.Security.Cryptography.X509Certificates
Errors
References
- PCSC
- PCSC.Iso7816
- System
- System.Core
- System.Numerics
- System.Security
- System.Security.Cryptography.X509Certificates
Errors
Code: Select all
error CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 16,38 AbstractCashRegisterSmardCard.cs Cashregister.Smartcard.AbstractCashRegisterSmardCard:AbstractCashRegisterSmardCard
error CS0012: The type 'System.IDisposable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 16,38 AbstractCashRegisterSmardCard.cs Cashregister.Smartcard.AbstractCashRegisterSmardCard:AbstractCashRegisterSmardCard
error CS0012: The type 'System.Collections.Generic.IEnumerable`1<T0>' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 85,35 AbstractCashRegisterSmardCard.cs Cashregister.Smartcard.AbstractCashRegisterSmardCard:SendCase2APDU
error CS0012: The type 'System.Collections.IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 85,35 AbstractCashRegisterSmardCard.cs Cashregister.Smartcard.AbstractCashRegisterSmardCard:SendCase2APDU
Re: C# und X509Certificate2
Looks like the mobile version of this site scales jpds down a lot more aggressively - now on the pc no problem to read, sorry.
The errors look strange, as System.Object etc are at the "base" of the tree in .net...
The errors look strange, as System.Object etc are at the "base" of the tree in .net...
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Re: C# und X509Certificate2
These errors look a bit like the error I got last week (it's in the subscriber forum) with a mixed C#/X# solution. Eventually I sent the whole solution to Chris who could compile it error free.
I figured out that the only difference between his and my installation was that I have the Store in GAC option unchecked during the X# installation, due to the trouble the GAC caused years ago. I de installed X# and reinstalled it with the option checked and the problem was gone.
Can you check if the GAC has something to do with it?
Dick
I figured out that the only difference between his and my installation was that I have the Store in GAC option unchecked during the X# installation, due to the trouble the GAC caused years ago. I de installed X# and reinstalled it with the option checked and the problem was gone.
Can you check if the GAC has something to do with it?
Dick
Re: C# und X509Certificate2
Hi Dick,
Chris has an error free version of this app. If he can send me his app and both dlls (PCSC*.*) I can test it and we will see if it's a install problem.
Regards Franz
Chris has an error free version of this app. If he can send me his app and both dlls (PCSC*.*) I can test it and we will see if it's a install problem.
Regards Franz
Re: C# und X509Certificate2
Hi Franz,
I think you used dlls for other framework versions, and not the ones from the folders I specified in my reply to you. I will send you via PM the correct dlls.
I think you used dlls for other framework versions, and not the ones from the folders I specified in my reply to you. I will send you via PM the correct dlls.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Re: C# und X509Certificate2
Hi Chris,
thank you for the DLLs, it now compiles without errors!
The DLLs I used first were not from the github example, I already had them on my disk. It looks like it's not the correct version for this app.
Regards, Franz
thank you for the DLLs, it now compiles without errors!
The DLLs I used first were not from the github example, I already had them on my disk. It looks like it's not the correct version for this app.
Regards, Franz

