DirectX Redistributable Files For .NET

G

Guest

We have a program written in C# which uses Microsoft.DirectX.DirectPlay.
The program seems to work fine on the computer with which it was written,
but when it is the matter of running it on another computer (with Win XP sp2,
DirectX 9.0b installed before installing .NET framework 1.1), the following
error message is displayed:
"File or assembly name Microsoft.DirectX.DirectPlay, or one of its
dependencies, was not found"
We tried reinstalling DirectX but it didn't help. We know that .NET
framework must be installed prior to installing DirectX, but reinstalling
DirectX even after installation of .NET framework doesn't help in anyway. Any
suggestions?
Thanks.
 
N

Nicholas Paldino [.NET/C# MVP]

Ehsan,

Are you sure you are distributing your interop assemblies as well? The
ones that you reference in managed code?

Hope this helps.
 
G

Guest

Thanks Nicholas,
but I think interop assemblies have to be considered when talking about COM
and .NET interoperability, while this project uses DirectX assemblies
provided to be used directly by .NET. So, there are no such files to be
distributed. Anyway, I expect DirectX to be installing necessary files on the
computer (but I'm doubtful if it does). And one more thing, the same project
works just fine on another computer (which of course, has Visual Studio .NET
installed), we're having trouble with only one of our systems which doesn't
have Visual Studio.
Would you please give me the list of files which must be deployed with our
EXE file, including those needed for DirectPlay?
Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top