This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
Dmitry.Obukhov  
#1 Posted : Wednesday, August 4, 2010 6:16:48 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Guest
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Description

You can experience the error when you run your 32-bit Windows application which has references to Graphics Mill x86 assemblies under x64 machine:

System.BadImageFormatException was unhandled
Message: Could not load file or assembly 'Aurigma.GraphicsMill, Version=5.5.4.0, Culture=neutral,
PublicKeyToken=af7154c50c505858' or one of its dependencies.
An attempt was made to load a program with an incorrect format.


The problem is caused by incorrect value of the Platform target setting in your project. The Platform targett is set to Any CPU by default.

Resolution

You should change the value to x86. Please follow the steps, if you use C#:

    1. open your application in Visual Studio;
    2. go to Project tab;
    3. open Properties… of your application;
    4. go to Build tab;
    5. change the Platform target to x86;
    6. save your project.
    7. recompile the application
If you use Visual Basic, you should:

    1. open your application in Visual Studio;
    2. go to Project tab;
    3. open Properties… of your application;
    4. go to Compile tab;
    5. Advanced Compile Options…;
    6. change the Target CPU to x86;
    7. save your project.
    8. recompile the application

Edited by user Tuesday, May 29, 2012 2:31:33 AM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.