사용자 코드에서 System.BadImageFormatException이(가) 처리되지 않았습니다.
Message=프로그램을 잘못된 형식으로 로드하려고 했습니다. (예외가 발생한 HRESULT: 0x8007000B)
Source=System.Data.SQLite
StackTrace:
위치: System.Data.SQLite.UnsafeNativeMethods.sqlite3_config(Int32 op, SQLiteLogCallback func, IntPtr pvUser)
위치: System.Data.SQLite.SQLite3.SetLogCallback(SQLiteLogCallback func)
위치: System.Data.SQLite.SQLiteLog.Initialize()
위치: System.Data.SQLite.SQLiteConnection..ctor(String connectionString)
...(중략)
위치: System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
위치: System.Threading.ExecutionContext.runTryCode(Object userData)
위치: System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
위치: System.Windows.Forms.Control.InvokeMarshaledCallbacks()
InnerException:
이 경우 빌드옵션에서 플랫폼 대상을 'x86'으로 설정해주세요. 하지만 일부 다른 사람들은 'Any CPU'로 바꿔서 해결이 되었다는 경우도 있으니 'x86'으로 안되면 모든 옵션을 시도해 보세요. 자세한 설정 방법은 http://westzero.net/106 여기를 참조하세요.
RECENT COMMENT