Posts in category wpf

XNA: The specified Module could not be found

http://consense-project.com/raw-attachment/blog/xna_specified_module_could_not_be_found/xna.pngDuring development of the ConSense Cockpit solution? I experienced (see 348) a problem when deploying a Windows Presentation Foundation (WPF) solution on a target client with no XNA (btw - an extremely lame acronym from Microsoft) installed which resulted in:

The specified module could not be found. (Exception from HRESULT: 0x8007007E)

For me the trick was to include the libraries:

  1.  d3dx9_31.dll
  2.  msvcr80.dll
  3.  X3DAudio1_4.dll

in the solution project and have them copied in a post-build event to the deployment folder (/installDir).

Due to the surely incoming copyright and litigation infringements I hope you understand I just linked the respective google queries instead of uploading the dll's myself ;-(