I usually exclude validation in this way, I believe it will be recursive.
- Right-click on your project and select Properties.
- Choose Validation from the left-nav menu.
- If it is not already selected choose “Enable project specific settings”.
- Find the validator that is relevant for what you want to exclude and click the “…” in the Settings column.
- Highlight the Exclude Group and click Add Rule. (If you don’t have any existing exclusions you may have to add an Exclude Group.)
- Select Folder or file name as the Filter Type.
- Click Next.
- Select Browse Folder and find the folder you want to exclude.