Jump to content
  • Advertisement
Sign in to follow this  
jdub

(C#) Error loading assembly

This topic is 3386 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

I am building a little test application using the March 2009 build of SlimDX and the newest version of physX.NET. I am gettin this error when I try to run it: Could not load file or assembly 'SlimDX, Version=2.0.6.40, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) around this little snippet of code:
texture = Texture.FromFile ( device, 
                "C:\\Projects\\Jareds_CS_Projects\\SlimDXTesting\\Resources\\image.png",
                100,
                100,
                0,
                Usage.None,
                Format.A1R5G5B5,
                Pool.Default,
                Filter.None,
                Filter.None,
                0 );

            sprite = new Sprite ( device ); 
            physics = new TestPhysics(); //this is where I get the exception
            updatePhysics(); // update the physics for the first time

I have double checked to make sure that the SlimDX.dll is in it's place and it is. I'm pretty new to programming and this is the first time I have come across this error. I have no clue how to fix it...

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!