AutoCAD 2007/2008/2009 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
HOW use VB.net in AUTOCAD 2009
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
When i netload my .dll, I have this message in Autocad 2009
Impossible de charger l'assemblage. Détails de l'erreur:
System.BadImageFormatException: Impossible de charger le fichier ou l'assembly
'file:///P:\My Documents\Visual Studio
2010\Projects\TTELECClassLibrary1\TTELECClassLibra
rary1.dll' ou une de ses dépendances. Cet assembly a été construit par un
runtime plus récent que le runtime actuellement chargé et ne peut pas être
chargé.
Nom du fichier : 'file:///P:\My Documents\Visual Studio
2010\Projects\TTELECClassLibrary1\TTELECClassLibra
rary1.dll'
à System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase,
Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark,
Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyNa
assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence
securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm,
Boolean forIntrospection, StackCrawlMark& stackMark)
à System.Reflection.Assembly.LoadFrom(String assemblyFile)
à Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(Stri
à loadmgd()
AVT : le journal de liaison d'assembly est désactivé.
Pour activer le journal des échecs de liaison d'assembly, attribuez la valeur 1
à la valeur de Registre [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD).
Remarque : une certaine perte de performance est associée à l'enregistrement
dans le journal des échecs de liaison d'assembly.
Pour désactiver cette fonctionnalité, supprimez la valeur de Registre
[HKLM\Software\Microsoft\Fusion!EnableLog].
How correct it ?
Re: HOW use VB.net in AUTOCAD 2009
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
don't load your assemby from a network as there are some specific settings necessary for trustment of network-drives.
Copy your DLL's to your C:-drive and try to load it from this location.
And jsut to make sure: Have you set your project to use Framework 2.0 (I think that is necessary for 2009).
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: HOW use VB.net in AUTOCAD 2009
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks
Is correct, the problem is the framework.
To AUTOCAD 2010, I must use the framework 3.5. For 2009, I don't no.
In my job, I have only the framework 4 and Autocad 2009 on my computer. This is the problem.
Thanks for your answer
Re: HOW use VB.net in AUTOCAD 2009
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
>> In my job, I have only the framework 4 and Autocad 2009 on my computer.
What OS do you have?
IMHO when you install AutoCAD 2009 there will be Framework 2.0 installed, if you don't find it on your system (so anyone uninstalled it) I think you'll have also troubles with AutoCAD itself then.
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------

