Object ARX 2025 issues

Object ARX 2025 issues

sumukha_as
Explorer Explorer
812 Views
2 Replies
Message 1 of 3

Object ARX 2025 issues

sumukha_as
Explorer
Explorer

While netload one of the dll of objectARX 2025 fallowing error is show in AutoCAD, and also there are many problems with compilations of the objectARX 2025 application migrations from older version. is objectARX 2025 complete stable package?

Cannot load assembly. Error details: System.BadImageFormatException: Could not load file or assembly

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B)
at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
at Autodesk.AutoCAD.ApplicationServices.ExtensionLoader.Load(String fileName)
at loadmgd()

0 Likes
813 Views
2 Replies
Replies (2)
Message 2 of 3

tbrammer
Advisor
Advisor

You should better post this in the .NET Forum.


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes
Message 3 of 3

Jedimaster
Collaborator
Collaborator

I had a great deal of trouble even finding SDK for AC2025 and AC2026. Not even sure if they are correct ones. I am trying to upgrade my applications. I have tried to use both MSVS2017 and MSVS2022. Both ,NET 4.8.1 and .NET 8.0.  I usually use

MSVS2017 VB Class Library (.NET Framework) A project for creating a VB class library (.dll). In MSVS2022 I can not get the .NET 8.0 to appear unless set to VB Class Library A project for creating a class library that targets .NET or .NET Standard.

Ether way I get errors with 2025 C:\ObjectARX 2025\inc references. Same for AC2026.  All previous versions 2020-2024 working fine. I can even use compiled 2024 .dll in  AC2025 and AC2026. If I try to debug from MSVS2022 using AC2025 it crashes both MSVS2022  and AutoCAD 2025.

 

0 Likes