Visual Studio – Where to define custom path macros?

Here the approach is described with pictures: https://sites.google.com/site/pinyotae/Home/visual-studio-visual-c/create-user-defined-environment-variables-macros

In Visual Studio you need to:

  1. Click in the main menu “View”, then “Property Manager”
  2. Right-click in the empty space of “Property Manager” window and in the pop-up menu click “Add New Project Property Sheet”
  3. After adding the property sheet, double click it in the Property Manager window and in the tree on the left select property page “User Macros”
  4. Then you can click “Add Macro” button

Here is a tutorial on Project Property Sheets: http://www.dorodnic.com/blog/2014/03/20/visual-studio-macros/

Leave a Comment