最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Visual Studio keeps asking me to update project's version - Stack Overflow

programmeradmin3浏览0评论

We have a Visual Studio solution that has some projects inside. Some of these projects need to be on v110 (Visual Studio 2012), but we cannot update them at least for now.

Now that we use Visual Studio 2022, it keeps asking us when we open the program if we want to update to the version v143, which we do not and can cause some issues if someone missclicks and updates all the projects.

So I would like to ask if there's a way so that these repetitive pop-ups disappear.

Thank you very much in advance.

We have a Visual Studio solution that has some projects inside. Some of these projects need to be on v110 (Visual Studio 2012), but we cannot update them at least for now.

Now that we use Visual Studio 2022, it keeps asking us when we open the program if we want to update to the version v143, which we do not and can cause some issues if someone missclicks and updates all the projects.

So I would like to ask if there's a way so that these repetitive pop-ups disappear.

Thank you very much in advance.

Share Improve this question edited Apr 1 at 9:13 Dou Xu-MSFT 3,5361 gold badge5 silver badges8 bronze badges asked Mar 31 at 12:51 OscarOscar 192 bronze badges 2
  • Visual Studio versions usually have a 10 year life time, VS 2012 end of support was in January 2023. Ideally your code should never be tied to a particular version of an IDE. I'd suggest creating a new branch of your code and upgrade the projects to the latest versions. – Piers Myers Commented Apr 1 at 7:02
  • Hi, did you check this document Upgrade C++ projects from earlier versions of Visual Studio? – Dou Xu-MSFT Commented Apr 3 at 11:49
Add a comment  | 

1 Answer 1

Reset to default 0

So I would like to ask if there's a way so that these repetitive pop-ups disappear.

I am afraid not.

Looks like you have created C++ projects in Visual Studio 2012. If you don't want to upgrade all projects, you can select Cancel Button. The project doesn't get upgraded. For projects created in Visual Studio 2010 and later, you can still use the project in the newer version of Visual Studio 2022. Just set your project properties to continue to target the older toolset.

Right-click on your project > Properties > General > Platform Toolset and select the older Platform Toolset.

If you don't have older MSVC installed in your machine, you can download from here: Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported)

For more information, please refer to:

Upgrade C++ projects from earlier versions of Visual Studio

发布评论

评论列表(0)

  1. 暂无评论