System.BadImageFormatException was unhandled Message=Could not load file or assembly 'Core, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Source=mscorlib FileName=Core, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null FusionLog==== Pre-bind state information === LOG: User = Owner-PC\Owner LOG: DisplayName = Core, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = file:///C:/Users/Owner/Documents/Visual Studio 2010/Projects/Media Portal/mediaportal/MediaPortal.Application/bin/Debug/ LOG: Initial PrivatePath = NULL Calling assembly : MediaPortal, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\Users\Owner\Documents\Visual Studio 2010\Projects\Media Portal\mediaportal\MediaPortal.Application\bin\Debug\MediaPortal.vshost.exe.Config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). LOG: Attempting download of new URL file:///C:/Users/Owner/Documents/Visual Studio 2010/Projects/Media Portal/mediaportal/MediaPortal.Application/bin/Debug/Core.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated. StackTrace: at System.Reflection.RuntimeAssembly.GetEntryPoint(RuntimeAssembly assembly, ObjectHandleOnStack retMethod) at System.Reflection.RuntimeAssembly.get_EntryPoint() at Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile) at Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: