The property manager allows you to have different sets of properties for different configurations - for example, release and debugging.
However, this still means that you need to manually assign each property file to each configuration.
Is there any method for automatically assigning a set of properties to a project based on some parameters (for example, configuration or platform).
case study: I have a solution with many sub-projects. these projects depend on various external libraries. for each external library I have a .props file with the corresponding directories and other parameters (including lib, dll ...)
In some cases, directory names can be easily constructed using default macros such as $ (Configuration), $ (Platform), etc. However, some libraries have a less standard \ consistent naming convention. for these cases, I create a .props file that is specific to the configuration (Debug \ Release), but this requires assigning manfully for each project that is tedious and error prone.
source
share