Search code examples
visual-studiosolution

How do i >install< a platform toolset for a visual studio project?


i'm trying to open up a C# project on my computer, but visual studio complained that the platform toolset was wrong, it wanted the v141 toolset (from VS2017, im using 2019).

I found many posts on here that asked the same question. But all the answear just talked about how you choose which toolset your project targets, NOT how to actually install it for your computer/project. My dropdown menu for toolsets is completely empty, how do i actually add v141 into the dropdown menu so that i can choose it?

enter image description here


Solution

  • Open "Visual Studio Installer" (via the start menu). Then click on "change" and choose the "Individual components" tab. There you can select the different runtime toolsets.

    I think you need this component