Automatic Load of .NET Assembly on AutoCAD MAP 3D 2008

Automatic Load of .NET Assembly on AutoCAD MAP 3D 2008

Anonymous
Not applicable
287 Views
1 Reply
Message 1 of 2

Automatic Load of .NET Assembly on AutoCAD MAP 3D 2008

Anonymous
Not applicable
I used the regfile included (you ca use the registry editor to include a key in the installer) to build an installer for my .net app hosted in AutoCAD Map 3d 2007, it works great!! but i must use 2k8, well i uninstall my 2k7 and replace it with 2k8, then I look into the registry and noticed some versions change, ex R17 to R17.1, 5002 to 6002, i modified my installer to match the key into the registry and rebuild it, but acad 2k8 doesn't load my assembly, i reviewed the registry, everything ok, the location of the assembly was ok but if you try to use netload it doesn't load too, i try to use the netload to use my assembly in my debug folder and it loads the app, it was strange, then i modify the reg key to point to my debug folder and guess what... It doesn't work!! some ideas?? Here the exported file of the reg key included in the installer:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.1\ACAD-6002:409\Applications\MDMQ_GIS]
"DESCRIPTION"="Utilidades GIS del MDMQ"
"LOADER"="C:\\Archivos de programa\\AutoCAD Map 3D 2008\\MDMQ_GIS_AUTOCAD.DLL"
"LOADCTRLS"=dword:00000002
"MANAGED"=dword:00000001
0 Likes
288 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Guess what??
I solved it, a line of my code was throwing an exception, but if this occurs in you initialize method Autocad MAP 3D 2008 don't tells you!!! is better if you surround with a try the Initialize code and display any error on the commands...
0 Likes