XS0246

Deutschsprachiges X#-Forum – German language forum

Moderator: wriedmann

Post Reply
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

XS0246

Post 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
User avatar
Chris
Posts: 4910
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: XS0246

Post 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).
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
lagraf
Posts: 450
Joined: Thu Jan 18, 2018 9:03 am
Location: A

Re: XS0246

Post by lagraf »

Hi Chris,
with ILSpy I found the correct namespace, thanks!
Regards, Franz
Post Reply