Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.2, 2019.3



Found in






Issue ID




[UWP] Building project for Visual Studio 2019 generates solution that targets build tools for VS 2017 tool-set (v141)

How to reproduce:
1. Have a system with Visual Studio 2019 and no Visual Studio 2017 and no MSVC v141
2. Create a new project or open existing one
3. In Build Settings, switch target platform to UWP
4. Verify "Visual Studio Version" field is set to "Visual Studio 2019" or "Latest installed" and that no other Visual Studio version is listed
5. Build the project
6. Open the newly build Visual Studio Solution (with Visual Studio 2019)
7. Build on Local Machine with Debug|x64 options
-- Building process fails with an error that the build tools for Visual Studio 2017 (v141) cannot be found. (exact error message below)

Expected result: When "Visual Studio 2019" or "Latest installed" option is selected (step 4), step 5 should generate a solution that targets Platform Toolset v142 without the need to manually Retarget Solution in Visual Studio.
Actual result: Building project for "Visual Studio 2019" generates a solution that targets build tools for Visual Studio 2017, therefore, it is needed to manually Retarget Solution in Visual Studio.

Reproducible with - 2018.4.3f1, 2019.1.0a10, 2019.1.9f1, 2019.2.0a1, 2019.2.0b8, 2019.3.0a8

Note: Not tested on 2017.4.29f1, 2019.1.0a1-a9 and since VS 2019 installation is not detected on those versions.

Exact error message:
Error MSB8020 The build tools for Visual Studio 2017 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install Visual Studio 2017 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". New Unity Project (2) C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets 379

  1. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a4
    Backported to 2018.4.10f1, 2019.2.6f1, 2019.3.0b4

Comments (9)

  1. 25df70ea0f52582d24ed7260827defae?d=mm


    Jul 22, 2020 11:26

    Are you a fashion freak, if yes then you would surely like some cool jackets and outfits on must check out, would be a treat for fashion lovers.

  2. 57a7fae66b2dec3c5ea0a28157f3a948?d=mm


    Jul 16, 2020 20:02 morocco travel agency

  3. 7cd0ec8098de1f713fa5dc8c36b14e81?d=mm


    Jul 10, 2020 06:03

    I appreciate this blog your blog is vert help full for me i really enjoyed this stuff dude.

  4. 7cd0ec8098de1f713fa5dc8c36b14e81?d=mm


    Jul 10, 2020 06:02

    This is the first time that I visit here. I found so many exciting matters in this particular blog, One thing I would like to request you that pls keep posting such type of informative blog.

  5. A72baba0e25667cea95537b83c8d4d10?d=mm


    Mar 27, 2020 13:05 Yeezy Supply Pandora Yeezy Air Force 1 Nike Air Force 1 Nike Air Max 270 Kobe Bryant Jersey Kobe Bryant Jerseys For Sale Kobe Bryant Jersey 24 Kobe Bryant Website Official Pandora Bijoux Yeezy Yeezy Yeezy Shoes Nike Shoes NFL Jerseys Yeezy Boost 350 Yeezy Yeezy Shoes Yeezy Yeezy Yeezy 350 Yeezy Yeezy Shoes Adidas Yeezy Yeezy 700 Yeezy Boost 350 V2 Nike Outlet Yeezy Shoes MLB Shop Adidas Yeezy MLB Jerseys Yeezy 380 Yeezy 380 Nike Outlet Human Races Human Race Shoes Uggs Official Site Pandora Basketball Jerseys Basketball Jerseys Cheap NBA Jerseys Nike Outlet Pandora Canada Pandora Charms Pandora Jewelry Pandora Outlet Pandora Jewelry Official Site MLB Jerseys Pandora Pandora Bijoux Adidas Yeezy Pandora Soldes 2020 Yeezy Shoes Yeezy Mafia

  6. 2adfaf9fa6f954b1cdb5b80458ac97f2?d=mm


    Feb 20, 2020 07:37

    The pleasant Content I love the visit on the Visual Studio 2020 establishment. Unluck my web is moderate just about 478 kb/sec. in any case, thank you very much for the pleasant blog

  7. Af5f4416c891da0302a4dc3c2eb40c06?d=mm


    Oct 07, 2019 12:03

    Not fixed in 2019.2.8 so how do we fix this issue?

  8. Fb2caa50e82513b242a0f007a9c29926?d=mm


    Aug 23, 2019 14:12

    For me, the build fails even when retargetting for v142 build tools.

  9. 6503ee8235791bdfe6928dc31274b6a5?d=mm


    Aug 08, 2019 13:58

    If you have v141 of the toolset another symptom is that the Device option does not show up in studio for debugging on the Hololens

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.