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?
Assembly error in WPF application with VS2010
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement