Fix a bug under Windows8 ModernUI

This commit is contained in:
SND\rene87_cp 2012-09-27 14:31:37 +00:00 committed by Konstantin Koch
parent a0f8d1fd23
commit ab91d83a1b

View File

@ -50,7 +50,7 @@ namespace ANX.Framework.NonXNA.PlatformSystem
foreach (Type type in assembly.GetExportedTypes())
#else
AssemblyName assemblyName = new AssemblyName(platformAssemblyName);
Assembly assembly = Assembly.Load(assemblyName);
Assembly assembly = Assembly.Load(assemblyName);
foreach (Type type in assembly.ExportedTypes)
#endif
@ -76,7 +76,7 @@ namespace ANX.Framework.NonXNA.PlatformSystem
case PlatformName.PSVita:
return prefix + platform.ToString() + suffix;
case PlatformName.Windows8:
return prefix + "Metro" + suffix;
return prefix + "Metro";
default:
throw new PlatformSystemInstanceException("couldn't solve assembly name for platform '" + platform.ToString() + "'");
}