Jump to content
  • Advertisement
Sign in to follow this  
kkc0923

Assembly error in WPF application with VS2010

This topic is 2526 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!