xsharp.eu • XS0246
Page 1 of 1

XS0246

Posted: Thu Mar 14, 2024 4:13 pm
by lagraf
Hallo zusammen,
ich kann den Fehler in einer Lib nicht finden:
error XS0246: The type or namespace name 'RKSVCom' could not be found (are you missing a using directive or an assembly reference?)

1) LowLevel DLL RKSVComCompleteX für Zugriffe auf die SmartCard:

Code: Select all

BEGIN NAMESPACE RKSVComCompleteX
PUBLIC CLASS RKSVCom
2) Wrapper _RKSVX mit Reference auf RKSVComCompleteX.dll

Code: Select all

CLASS RKSVINT
	PROTECT _oRKSVCom AS RKSVCom	// Klasse aus RKSVComCompleteX => obiger Fehler
Ich hab schon USING RKSVCom und USING RKSVComCompleteX probiert, ohne Erfolg.
Wo brauche ich noch einen Eintrag?

Danke, Franz

Re: XS0246

Posted: Thu Mar 14, 2024 11:30 pm
by Chris
Hi Franz,

Isn't there some documentation for the library, showing the full name of the classes? You can also open the dll with a disassembler like ILSpy which will also show you the full names of the classes (namespace + short class name).

Re: XS0246

Posted: Fri Mar 15, 2024 8:39 am
by lagraf
Hi Chris,
with ILSpy I found the correct namespace, thanks!
Regards, Franz