How to exclude files from Visual Studio compile?

2019-01-07 12:31发布

I'm in the process of refactoring a project. I've got an entire subfolder which is known to be broken. Is there any declarative way to exclude that folder from the compile temporarily while I test the refactoring thus far?

I realize I could delete the folder, but I'd like to do this through configuration if possible.

13条回答
爷的心禁止访问
2楼-- · 2019-01-07 13:34

You should just be able to right click on the folder name in your solution explorer, and click "exclude from project".

查看更多
登录 后发表回答