You can configure the order that the directive sets are applied by setting their order in the project settings, build configurations,
folder, or file level Directive Set References list.
Project settings directive set references
To set the project level Directive Set References:
- In the Application Explorer view, right-click your project.
- Click
- Click
Add.
This opens the
Add a reference to a directive set file dialog box.
- In the
Path field, type the path to the directive set file you want to use. Alternatively, click
Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click
Store path as an absolute value.
- Click
OK.
Build configurations directive set references
To set the build configurations level Directive Set References:
- In the Application Explorer view, right-click your project.
- Click
- Click
Enable configuration specific settings.
- Click
Add.
This opens the
Add a reference to a directive set file dialog box.
- In the
Path field, type the path to the directive set file you want to use. Alternatively, click
Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click
Store path as an absolute value.
- Click
OK.
Folder Directive Set References
To set the folder level Directive Set References:
- In the Application Explorer view, right-click the folder you want to add directive set references to.
- Click
- Click
Enable folder specific settings.
- Click
Add.
This opens the
Add a reference to a directive set file dialog box.
- In the
Path field, type the path to the directive set file you want to use. Alternatively, click
Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click
Store path as an absolute value.
- Click
OK.
File Directive Set References
To set the file level Directive Set References:
- In the Application Explorer view, right-click the file you want to add directive set references to.
- Click
- Click
Enable file specific settings.
- Click
Add.
This opens the
Add a reference to a directive set file dialog box.
- In the
Path field, type the path to the directive set file you want to use. Alternatively, click
Browse and navigate to the file. By default, the relative path to the file is stored. If you want to store the absolute path, click
Store path as an absolute value.
- Click
OK.