Assembly Microsoft.Xna.Framework.dll does not load
Posted
by jbsnorro
on Stack Overflow
See other posts from Stack Overflow
or by jbsnorro
Published on 2010-04-03T20:25:14Z
Indexed on
2010/04/03
23:13 UTC
Read the original article
Hit count: 598
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?
© Stack Overflow or respective owner