In some older versions you could easily right click on the folders and exclude from build.
This function seems to be gone in VS 2017 Community. How do I achieve the same?
Update: it seems the function is not completely gone, it's possible to exclude files from the project when the Solution Explorer is not in folder view. This is not a solution anyway, since I need to exclude a whole folder that's got plenty of files, excluding them one by one is not at all a practical solution. It's something I can do in an emergency scenario, but not a reliable way of doing it.