Make sure that you exclude it from all of platforms and configurations, which appear in Properties dialog.
VS2017: Missing sign when an item is excuded from the build
Hi all,
In the past you could exclude a file, .cpp, from the build and once you set it so a small icon (a stop sign or something like that) appeared along with the file item under the solution view pane.
Now, the sign doesn't appear anymore, but the setting is retained.
To test the scenario: create a default windows application in c++, click on the a .cpp file inside the solution explorer pane and on the pop up menu click on properties. A properties dialog appears.
Under the General -> Exclude From Build select 'Yes' and click apply/ok. The .cpp will not have any sign that that item is excluded from the build.
VS2019/2022 don't seem to have the same issue.
Of course, VS2017 is fully updated.
Any idea how to fix that?
Thanks