Jump to content

View more

Image of the Day

The beast has a mighty searchlight of evil! #screenshotsaturday https://t.co/bzKepOojDL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Assembly error in WPF application with VS2010

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 Kichang Kim   Members   

119
Like
0Likes
Like

Posted 19 January 2012 - 02:32 AM

Hi, I used SlimDX in my application with RenderForm class. And I need to make more GUI-friendly applications, so I change my application base from RenderForm to WPF application. But, When I open xaml files in VS2010, the designer says that


System.BadImageFormatException
Could not load file or assembly 'SlimDX, Version=4.0.12.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Remove SlimDX dll from references, this error disappeared. I used SlimDX September 2011 and .Net 4.0 64bit binary. My project setting is that CPU type is 64bit. (When i open SlimDX sample WPF project, same error occured.)

What is a problem?




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.