글
에러 메시지 & 스택 트레이스
64bit O/S에서 프로젝트 빌드시 위와 같은 에러 메시지가 발생하면 빌드옵션에서 플랫폼 대상을 x86으로 설정해주세요.
이제 다시 빌드하시면 됩니다.
System.BadImageFormatException이(가) 처리되지 않았습니다.
Message=은(는) 올바른 Win32 응용 프로그램이 아닙니다. (예외가 발생한 HRESULT: 0x800700C1)
Source=mscorlib
StackTrace:
위치: System.Reflection.Assembly._nGetEntryPoint()
위치: System.Reflection.Assembly.get_EntryPoint()
위치: Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
위치: Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart()
InnerException:
Message=은(는) 올바른 Win32 응용 프로그램이 아닙니다. (예외가 발생한 HRESULT: 0x800700C1)
Source=mscorlib
StackTrace:
위치: System.Reflection.Assembly._nGetEntryPoint()
위치: System.Reflection.Assembly.get_EntryPoint()
위치: Microsoft.VisualStudio.HostingProcess.HostProc.GetEntryPointAptThreadState(String assemblyFile)
위치: Microsoft.VisualStudio.HostingProcess.HostProc.RunParkingWindowThread()
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart()
InnerException:
64bit O/S에서 프로젝트 빌드시 위와 같은 에러 메시지가 발생하면 빌드옵션에서 플랫폼 대상을 x86으로 설정해주세요.
이제 다시 빌드하시면 됩니다.
'개발 이야기 > .NET' 카테고리의 다른 글
| [트러블슈팅] System.Data.SQLite.DLL 사용시 System.BadImageFormatException 예외발생 (0) | 2012/04/30 |
|---|---|
| [트러블슈팅] 64bit O/S에서 빌드시 System.BadImageFormatException (0) | 2012/02/20 |
| .NET 버전 혼용하기 (0) | 2011/10/20 |
| SQL-CLR Type Mapping (LINQ to SQL) (1) | 2011/03/21 |
RECENT COMMENT