简体   繁体   中英

How add to Visual Studio 2017 or 2019 old C++ (v110) compiler?

I need compile my C++ project with old compiler verison. I saw, that is possibly to add to new visual studio old compiler. I try to download and install some build kit and remote utility for VS 2020 (ver v110), but nothing changed. I expect in properties - platform toolset - new line - v110, but nothing happen. What I shloud to download and install and what to do?

You could install VS2012 platform toolset. In fact, you don't need to uninstall the redistributables. It's just that there may be installation errors.Also, if you unstall them, you could re-install them in Microsoft Downloads .

Then, you could change v110 in properties -> platform toolset .

For the previous version of VS2012, you can go to download it on daffodil website.

You need to install the old Visual Studio 2012 to use the compiler in a newer Visual Studio (eg 2017). Therefore uninstall the redistributables ("Microsoft Visual C++ 2012 Redistributable") to avoid errors. Then you have to install the old Visual Studio 2012 and it's updates if required. Afterward you will probably have to "repair" the newer Visual Studio Installations.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM