AddAnyFile
AddAnyFile copied to clipboard
Added file is not included in c++ project automatically.
Installed product version
- Visual Studio Community 2022 Version 17.0.6
- This extension: 4.1.8
Description
Added file is not included in c++ project automatically.
Steps to reproduce
- Open a c++ project file in text editor.
- Press
Shift + F2
to add a new file.
Expected behavior
You can see the added file in the solution explorer immediately, and this file is included in this project automatically.
Actual behavior
In the solution explorer, you can't see this file untill you Refresh
the solution explorer. At the same time, it's not included in this project, so you have to right click the file and Include in project
manually.
Supplement
This extension (VS 2019 version 3.5.160) works okay with every Visual Studio Community 2019 Version.
I just moved to VS2022 and am running into a similar issue to this as well. I actually get an error message after hitting add: "A file with the name x:\path\to\the\newfile.h already exists on disk."
VS Enterprise 2022 17.1.1 Extension 4.1.8 via marketplace