Not logged in, Join Here! or Log In Below:  
 
News Articles Search    
 

 Home / 3D Theory & Graphics / Managed D3D distribution problem Account Manager
 
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
 
Jason Zelsnack

April 06, 2005, 06:44 PM

I've been intending on putting up my C# Novodex physics demo as an IOTD but it doesn't run on other peoples' computers. They get a System.IO.FileNotFoundException.
"Addition information: File or assembly name Microsoft.DirectX, or one of its dependencies, was not found."

They have the full DirectX SDK installed including managed DirectX. If I give them the source code and they compile it then it runs on their computers. That's hardly acceptable.

I think the problem is because we don't have the exact version of DirectX running on our computers.
Here's my SDK: C:Program FilesMicrosoft DirectX 9.0 SDK (February 2005)
Here's my DirectX: C:WINDOWSMicrosoft.NETManaged DirectXv9.05.132
They have slightly different versions. I thought by setting the DirectX references to copy the DLLs locally would work, but it didn't.

Here's a simple test that draws a single triangle to the screen using managed DirectX. It has the code and both a debug and release executable.
http://www.zelsnack.com/jason/TriangleTest.zip
Can anyone tell me how to make a managed DirectX application run reliably on computers with a version of Managed DirectX installed?
Also, what's the best way to get Managed DirectX running on a computer without it?
Use this?
http://www.microsoft.com/downloads/details.aspx?familyid=2c40a7a5-7742-44d2-9f5c-420815448ea4&displaylang=en
Oh, and of course the .NET runtime also.

 
This thread contains 1 message.
 
 
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.