Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7749961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:10:02+00:00 2026-06-01T11:10:02+00:00

I am developing the application that uses DirectX for graphics rendering. I have to

  • 0

I am developing the application that uses DirectX for graphics rendering. I have to point out that I am not using XNA or SlimDX, although I probably should. However, I did not know this at the project launch, and now it’s too late as it would take a lot of time to convert to any of these.

That said, I need to deploy the application to users. In my project, I have referenced the following assemblies:

  • Microsoft.DirectX
  • Microsoft.DirectX.Direct3D
  • Microsoft.DirectX.Direct3DX

I only need these assemblies, nothing else. The users are required to have DirectX installed on their computers as a prerequisite. Therefore, I found including these DirectX DLLs to my application folder or GAC unnecessary.

I am having problems with some environments while other work perfectly. I’ve traced the issue to whether DirectX assemblies are registered in %windir%\assembly. If there are DirectX assemblies listed here, the application runs. If there are not – it fails to launch.

The problem is that even though DirectX is installed on all computers (dxdiag works, DirectX files are listed in it), some of them do not have these assemblies listed in there. When this happens, the application fails with System.IO.FileNotFound exception:

Could not load file or assembly ‘Microsoft.DirectX.Direct3D, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

For instance, if the latest stand-alone installer is downloaded from Microsoft website and installed, the assemblies are registered. I am not sure about the case when they do not get installed, but it happens. Often.

My questions:

  1. Why does DirectX sometimes register these assemblies and sometimes do not?
  2. What is the proper way to reference DirectX assemblies from within
    the application?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:10:04+00:00Added an answer on June 1, 2026 at 11:10 am

    I’m not surprised that you’re seeing these issues. You’re relying on an extremely old, discontinued, and no-longer-supported API. The latest runtime installers will still install the assemblies for compatibility purposes, but they’re not included by default because they don’t expect anyone to use them.

    Honestly, they’re really old (like, 10 years old), they have numerous known bugs and issues that will never be fixed, and there are perfectly acceptable replacements out there. You should either switch to one of them or resign yourself to dealing with issues like this for as long as you continue to support your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application using jQuery that uses cookies. Right now, it is
I am developing sample application that uses Google Map API. I have generated Google
I am developing a web application that uses Amazon Web Services. I am using
I'm developing a java application that uses some jni calls. I have on C
I have been developing an application that uses Models that are based on a
I'm developing a application that uses the twitter API. I'm currently using rspec with
I'm developing an application that uses webservices in python, both sides (server and client)
I am developing an application that uses JS Tree with json data and ajax
I'm developing a C# application that uses a handful of XML files and some
I'm developing a web application that uses an in-house SSO server for authentication. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.