471,605 Members | 1,626 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

DirectX Redistributable Files For .NET

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.
Dec 28 '05 #1
2 1505
Ehsan,

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

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ehsan" <Eh***@discussions.microsoft.com> wrote in message
news:F9**********************************@microsof t.com...
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.

Dec 28 '05 #2
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.
Dec 29 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.