How to exclude files from Visual Studio compile?

You could set the Build Action (in the Properties Window) to None for the files you want excluded. You could also right-click on the folder and choose Exclude from Project.

Leave a Comment