CentroidAPI problem <resolved>
Posted: Fri Dec 06, 2024 12:06 pm
I was able build and run the CentroidAPI_CSharp_PowerFeed example with no problems.
I copied the pipeline class into my project and made sure all the references were installed and copied the code from his form to mine however when I attempt to run it bombs on CNCPipeManager = new PipeManager(); with the following error:
System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly 'CentroidAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I have a new install of CNC12 and I've removed and re-added the references and still the same issue.
Any help will be greatly appreciated
I copied the pipeline class into my project and made sure all the references were installed and copied the code from his form to mine however when I attempt to run it bombs on CNCPipeManager = new PipeManager(); with the following error:
System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly 'CentroidAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I have a new install of CNC12 and I've removed and re-added the references and still the same issue.
Any help will be greatly appreciated