보통 Releas 가 실행이 되지 않는 SidebySide 에러가 대부분이지만 개발 소스를 받아서 컴파일 실행하려할때 Debug모드에서 에러가 나는경우는 툴 버젼이 다르고서야 드물긴하다 허나 이런일이 생긴경우 해결하였던 방법을 기술하여 둔다
우선 에러가 나는 생성물의 메니페스트(manifest)를 살펴보도록 한다
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.4053" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
이 프로그렘은 VC80 디버그 모드용 CRT 두버젼의 DLL을 사용하고 있다 실제 상위 버젼 하나만 있어도 되기때문에 4053에 이 있는 지 확은하여야 한다
이것이 있는지 확인하기 위해서는 C:\WINDOWS\WinSxS 폴더를 검색하여 8.0.50727.4053 로 검색하여 본다
만약 없다면 VS2005(8.0)을 설치후 sp1를 설치 하지 않은경우이다
아래의 추가 페치를 하도록 한다
KB926605(8.0.50727.762)
http://www.microsoft.com/downloads/ko-kr/details.aspx?FamilyID=bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc
KB971090(8.0.50727.4053)
http://www.microsoft.com/downloads/ko-kr/details.aspx?FamilyID=7c8729dc-06a2-4538-a90d-ff9464dc0197
'디버깅' 카테고리의 다른 글
[MSSQL] cannot open database in Windows Service (0) | 2016.11.25 |
---|---|
[VC++] manifest version 설정하기 (0) | 2016.08.24 |
VC++(MFC)에서 DB 연동하기 (0) | 2016.08.24 |
crash dump (0) | 2016.08.21 |
sxstrace, dependencywalker 사용법 (0) | 2016.07.14 |