To whom it may concern,
I have a VS 2019 (VB) application that uses a microphone to record *.wav files…using the XNA Framework.
I have been using the application for over 5 years with no problem on the target machine.
I had to install the program on a new machine (hard-drive failure) and when I launched the form that had the XNA/Microphone references, I received the “Could not load file or assembly 'Microsoft.Xna.Framework.dll' or one of its dependencies” error message…System.IO.FileNotFoundException.
I checked the “Application Files” folder of the installation package, and it does contain: Microsoft.Xna.Framework.dll.deploy.
I also checked the destination folder in the Users\<username>\AppData\Local\Apps\2.0\… folder, and it contains: Microsoft.Xna.Framework.cdf-ms, Microsoft.Xna.Framework.dll, and Microsoft.Xna.Framework.manifest.
I also read some previous discussions on this and it said to check that the Target is for x86…it is.
I also checked the Prerequisites, and Microsoft XNA Framework Redistributable 4.0 is checked…as is Create setup program to install prerequisite components.
I’m not having a problem with the execution of the Build, it’s just not configuring the location of the XNA dll for the installed program to find.
Any assistance would be greatly appreciated.