I have this icon (in the red square) on the file that contains the "main" function in a project of mine
Does anyone know what the icon means? I thought it meant that the source file is excluded from the current build configuration but the file is actually included in the current active configuration. It is also included in the compiled artifact but the debugger can't find it as a source file.
I would be grateful if someone could tell me what this means and how to return the file to a "normal" C++ file icon. Thanks.
Yes, this icon means "Excluded from Build". You should be able to unmark it right-click ing on file, selecting "Properties" and uncheck "Exclude resource from build" checkbox. If it does not work you can try right-click ->"Resource Configurations"->"Reset to Default"