Sign in to follow this  
jdub

(C#) Error loading assembly

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this