Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

How to access "Active solution platform" through a macro?

$
0
0

Hi,

I want to access the name of the active *solution* platform through a macro, as I want to target different Windows-Version by specifying the platform.

I know that I could duplicate the *project* configurtaions and assign them to the different targets. But

1. I want to control the target by using property-sheets

2. I have more than 50 projects with at least two configs for each, thus duplicating the configurations is not an option

Please provide a macro for accessing the active *solution* platform.

Thanks

Tobias


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>