Programming

v120 용 빌드 도구 (플랫폼 도구 세트 = 'v120')를 찾을 수 없습니다.

procodes 2020. 8. 15. 14:34
반응형

v120 용 빌드 도구 (플랫폼 도구 세트 = 'v120')를 찾을 수 없습니다.


Windows 8 x64에서 Visual Studio 2012를 사용하는 것은 msbuild가 .net으로 이동했기 때문에 발생하지만 아직 수정하는 방법을 보지 못했습니다.

4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.    
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5):
error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.    
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools.

http://en.wikipedia.org/wiki/Visual_C++

v110 인 Visual C ++ 2012를 사용하고 있습니다. v120은 Visual C ++ 2013을 의미합니다.

따라서 도구 집합 v110을 사용하도록 프로젝트 설정을 변경하거나이 컴퓨터에 Visual Studio 2013을 설치하고 VS2013을 사용하여 컴파일합니다.


VS2013이 설치되어 있고이 오류가 발생하는 경우 잘못된 MSBuild를 호출 한 것일 수 있습니다. VS2013을 통해 Microsoft는 이제 Visual Studio의 일부로 MSBuild를 포함합니다. 자세한 내용은 이 Visual Studio 블로그 게시물 을 참조하세요.

특히 바이너리의 새 위치에 유의하십시오.

32 비트 컴퓨터에서는 C : \ Program Files \ MSBuild \ 12.0 \ bin에서 찾을 수 있습니다.

64 비트 컴퓨터에서 32 비트 도구는 C : \ Program Files (x86) \ MSBuild \ 12.0 \ bin에 있습니다.

C : \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ amd64 아래의 64 비트 도구

MSBuild in %WINDIR%\Microsoft.NET\Framework\이 VS2013 (v120) 플랫폼 도구 집합을 인식하지 못하는 것 같습니다.


Visual 2012를 사용하는 경우 프로젝트 이름-> 속성-> 구성 속성-> 일반-> 플랫폼 도구 세트-> Visual Studio 2012 (v110)를 마우스 오른쪽 버튼으로 클릭합니다.


http://www.microsoft.com/en-US/download/details.aspx?id=40760 에서 Microsoft Build Tools 2013을 다운로드하고 설정합니다 .


Kevin과 Lex의 답변을 추가하려면 :

개발자와 빌드 서버 모두 Visual Studio 2013을 사용하는 비슷한 상황이 발생했습니다. 우리의 솔루션에는 VS 2013 C ++ 프로젝트가 있었고 개발자의 컴퓨터 또는 IDE 내의 빌드 서버에서 빌드 할 때 제대로 컴파일되었습니다. 문제는 TFS 빌드 정의를 사용하여 빌드를 트리거 할 때 발생했습니다. 우리는 여전히 12.0 대신 이전 빌드 템플릿 (버전 11.1)을 사용하고있었습니다. 다행히 템플릿 xaml 파일에 간단한 속성 추가로 문제가 해결되었습니다. 시퀀스 부분 "Compile the Project"에는 다음으로 시작하는 xaml 노드가 있습니다.

mtbwa:MSBuild CommandLineArgument=....

Kevin의 대답에 따라 "ToolPath"특성을 추가하고 호출하려는 MSBuild.exe의 올바른 경로를 가리킬 수 있습니다. 예를 들면 :

ToolPath="C:\Program Files (x86)\MSBuild\12.0\Bin"

Louis 대답을 추가하려면 :

또는 특성 ToolVersion="12.0"을 사용하는 대신 Visual Studio 2013을 사용하는 경우 특성을 사용할 수 있습니다 ToolPath. 자세한 내용은 http://msdn.microsoft.com/en-us/library/dd647548.aspx를 참조 하십시오 .

따라서 절대 경로를 사용하지 않아도됩니다.


VS2013 C ++ 프로젝트를 VS2015에 오픈하고, "V120의 빌드 도구가 ... 찾을 수 없습니다"에 대한 경고가 될 때, 나는 단순히 편집에 .vcxproj 파일 변경 필요 <PlatformToolset>v120</PlatformToolset>에를 <PlatformToolset>v140</PlatformToolset>, 그리고 닫고 솔루션을 다시 엽니 다 .


이것에 4 시간 이상을 낭비했습니다.

내가 가지고있는 비주얼 스튜디오 2017 엔터프라이즈 , 프로젝트 중 하나가 오류 아래에있다 :

v120 용 빌드 도구 (플랫폼 도구 세트 = 'v120')를 찾을 수 없습니다.

위의 오류를 해결하기 위해 아래 모두를 설치하려고했습니다.

그러나 위의 어느 것도 작동하지 않았습니다.

나중에 Visual Studio 2013 Ultimate를 설치 하면 모두 정상적으로 작동했습니다.

이 문제를 해결하려면 이전 Visual Studio가 필수 인 것 같습니다.

도움이되기를 바랍니다.


VS 2012에서 "SMB2가 빌드되지 않음 : 오류 1 오류 MSB8020 : Visual Studio 2010 용 빌드 도구 (플랫폼 도구 집합 = 'v100')를 찾을 수 없습니다. v100 빌드 도구를 사용하여 빌드하려면 프로젝트 메뉴를 클릭하십시오. 또는 솔루션을 마우스 오른쪽 단추로 클릭 한 다음 "VC ++ 프로젝트 업데이트 ..."를 선택합니다. Visual Studio 2010 빌드 도구를 사용하여 빌드하려면 Visual Studio 2010을 설치합니다. "

바람에주의를 기울이고 제안을 시도했습니다. 솔루션 탐색기에서 솔루션을 선택한 다음 "VC ++ 업데이트"메뉴 항목을 클릭했습니다. 이것은 약간의 업데이트를 한 다음 성공한 빌드를 시작했습니다.

솔루션 메뉴에 "Update VC ++"메뉴 항목이 더 이상 나타나지 않습니다.


VS 2013 커뮤니티 업데이트 5를 제거하고 VS 2015 커뮤니티 에디션으로 전환했을 때 비슷한 문제가 발생했습니다.

그리고 Windows Phone 8.1 프로젝트에서 얻은 문제는 올바른 msbuild 도구 집합이없고 에뮬레이터가 설치되어 있어도 설치되지 않는다고 불평했습니다.

문제의 원인은 제어판에서 문제없이 제거 프로세스가 순조롭게 진행 되었음에도 불구하고 나를 위해 모든 것을 엉망으로 만든 마지막 제거로 인해 남겨진 VS 2013 커뮤니티 설정이라는 것을 알고 있습니다.

남은 파일을 제거하기 위해 최선을 다했지만 항상 남은 것이 있습니다.

그리고 나를 위해 그것을 고친 것은 새로운 Windows 10 x64 설치이며 VS 2015 커뮤니티 에디션을 설치 한 후 그게 다입니다! 나에게 더 이상 오류가 없으며 wp8.1 에뮬레이터도 잘 작동했습니다!

in my case now am completely sure that the previous visual studio install settings has messed everything for me and because there wasn't any way i found and tried to completely erase VS 2013 community files and settings i had to pay the price for it and reinstall my OS.

you might be able to avoid OS reinstall if you can find a way to completely erase last visual studio install files.

P.S:only attempt this solution(OS reinstall) after you tried every possible way first then if nothing works and only then ... make this solution as a last resort.


In VS2013 to set up all projects to correct build tools, you can do a right click on the solution in solution explorer and choose "Retarget solution". It will change all progects (all you check with the checkbox in opened dialog), so the error will be gone.


In my case, I have double-clicked a Visual 2013 sln file and Visual 2012 opened (instead of Visual 2013). Trying to compile with Visual 2012, a project that has the Platform Toolset set to "v120" showed the error above mentioned. However, reopening the sln with Visual 2013, the Platform Toolset was set to "Visual Studio 2013 (v120)" - please note the complete name this time -, actually did the job for me. The project compiles well now.


I was getting the same error with building USBView project in VS2015. I removed this error by selecting 'Platform Toolset' settings to to "Visual Studio 2015 (v140)" and than right click on solution (in VS2015) and select 'Retarget Solution' and selected 10.0.10240.0 on that dialog.

It seems like there is also ProjectUpgradeTool from microsoft which is suppose to convert older projects to upgrade to post VS2012 VS but I couldn't locate that tool on my machine.

I still have to fix some new linker error with help of this.


I had a similar problem. VS 2015 Community (MSBuild 14) building a c++ app, wanted to use VS 2010 (v100) tools. It all came down giving msbuild an invalid configuration option. Strange.

So, recheck all those options and parameters.


If you use make generators like cmake, JUCE, etc. try to set a correct VS version target (2013, 2015, 2017) and regenerate the solution again.


I was facing same issue while building some of project.

I used Visual Studio 2015 IDE, there it was working fine but while giving build from PowerShell script, it was giving toolset related "The builds tools for v140 (Platform Toolset = 'v140') cannot be found." error

So eventually it was issue of pointing to incorrect MSBUILD exe for the respective project.

Earlier I was pointing to $MSBUILD="C:\windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe

And build was successful when I updated script to point to $MSBUILD="C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe"

Hence to resolve the issue, please make sure to use correct MSBUILD.

참고URL : https://stackoverflow.com/questions/19801072/the-builds-tools-for-v120-platform-toolset-v120-cannot-be-found

반응형