성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
[정성태] "props[i].GetValue(props[i])" 코드에서 ...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>error MSB8008: Specified platform toolset (v120) is not installed or invalid.</h1> <p> msbuild로 컴파일할 때 다음과 같은 오류가 발생한다면?<br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> D:\Sources>msbuild ".\filer.vcxproj" /p:Platform=Win32;Configuration=Release /t:Rebuild<br /> Microsoft (R) Build Engine version 4.0.30319.33440<br /> [Microsoft .NET Framework, version 4.0.30319.34003]<br /> Copyright (C) Microsoft Corporation. All rights reserved.<br /> <br /> Build started 2013-11-27 오후 1:17:27.<br /> Project "D:\Sources\filer.vcxproj" on node 1 (Rebuild target(s)).<br /> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(518,5): <span style='color: blue; font-weight: bold'>error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.</span> <br /> [D:\Sources\filer.vcxproj] Done Building Project "D:\Sources\filer.vcxproj" (Rebuild target(s)) -- FAILED.<br /> <br /> Build FAILED.<br /> </div><br /> <br /> 해당 머신에 Visual Studio 2013이 설치되어 있지 않기 때문입니다. 만약 설치되어 있는데도 여전히 발생한다면? 다음의 글에서 알려주듯이,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Specified platform toolset (v110) is not installed or invalid: ; <a target='tab' href='http://social.msdn.microsoft.com/Forums/vstudio/en-US/09e51771-c6dd-4049-a73c-622aa3e6b67d/specified-platform-toolset-v110-is-not-installed-or-invalid'>http://social.msdn.microsoft.com/Forums/vstudio/en-US/09e51771-c6dd-4049-a73c-622aa3e6b67d/specified-platform-toolset-v110-is-not-installed-or-invalid</a> </pre> <br /> VisualStudioVersion 환경 변수가 정의되어 있지 않기 때문입니다. 따라서, msbuild 명령행 빌드를 실행하기 전 다음과 같이 환경 변수를 설정해 주시면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > set VisualStudioVersion=12.0 </pre> <br /> 그런데 이런 오류가 발생할 수도 있습니다.<br /> <br /> <div style='BACKGROUND-COLOR: #ccffcc; padding: 10px 10px 5px 10px; MARGIN: 0px 10px 10px 10px; FONT-FAMILY: Malgun Gothic, Consolas, Verdana; COLOR: #005555'> D:\Sources>msbuild ".\Sources\filer.vcxproj" /p:Platform=Win32;Configuration=Release /t:Rebuild<br /> Microsoft (R) Build Engine version 4.0.30319.33440<br /> [Microsoft .NET Framework, version 4.0.30319.34003]<br /> Copyright (C) Microsoft Corporation. All rights reserved.<br /> <br /> Build started 2013-11-27 오후 1:33:27.<br /> Project "D:\Sources\filer.vcxproj" on node 1 (Rebuild target(s)).<br /> D:\Sources\filer.vcxproj(29,3): <span style='color: blue; font-weight: bold'>error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.</span> <br /> Done Building Project "D:\Sources\filer.vcxproj" (Rebuild target(s)) -- FAILED.<br /> </div><br /> <br /> 이런 때는 VisualStudioVersion 값을 잘못 지정했기 때문입니다. 예를 들어, 해당 PC에는 VS2013이 설치되어 있는데 VisualStudioVersion 값을 11.0으로 설정했기 때문입니다. msbuild가 실행되는 PC에 설치된 Visual Studio 버전을 확인하시고 그에 맞는 VisualStudioVersion 값을 설정하면 이런 문제는 없어집니다. ^^<br /> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
5432
(왼쪽의 숫자를 입력해야 합니다.)