The builds tools for v120 (Platform Toolset = 'v120') cannot be found

前端 未结 16 1514
后悔当初
后悔当初 2020-12-04 09:47

Using visual studio 2012 on windows 8 x64 aparantly this is caused by msbuild being moved into .net but I havn\'t seen how to fix it yet.

4>C:\\Program Fi         


        
16条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 10:37

    i had a similar problem when i removed VS 2013 community Update 5 and switched over to VS 2015 community edition

    and the problem acquired in windows phone 8.1 projects where it complained about not having the right msbuild toolset and about the emulators not installed even if they are.

    i know that the source of the problem was the VS 2013 community settings that has been left by that last uninstall which messed everything for me even though the uninstall process went smooth with no problems from the control panel.

    i did my best to remove any files left but there was always some thing left.

    and what only fixed it for me is a fresh windows 10 x64 installation then after it i installed VS 2015 community edition and that's it!! no more errors for me and the wp8.1 emulator worked fine too!!

    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.

提交回复
热议问题