C# Assembly Xna.Framework.dll does not load
- by jbsnorro
When trying to load Microsoft.Xna.Framework.dll from any project, it throws a FileNotFoundException. The specified module could not be found. (Exception from HRESULT: 0x8007007E), with no innerException.
Even the simple code like the following throws that exception:
static void Main(string[] args)
{
Assembly.LoadFile(@"C:\Microsoft.Xna.Framework.dll");
}
I run XP x64, but I've set the platform in the configuration manager to x86, because I know it shouldn't(doesn't) work on x64 or Any CPU.
I've manually added the dll file to GAC, but that didn't solve the problem. I have also tried the M$ Assembly Binding Log Viewer to see if those logs had any useful information, but they didn't. Everything, the loading etc, was a success according to them.
Any suggestions? please?