I'm developing some compiling tool. I'm using Microsoft.Build libraries for compile solution by selected configuration:
string projectFileName = @"D:\MySolution.sln";
ProjectCollection pc = new ProjectCollection();
Dictionary<string, string> GlobalProperty = new Dictionary<string, string>();
GlobalProperty.Add("Configuration", "Debug");
GlobalProperty.Add("Platform", "Mixed Platforms");
BuildRequestData BuidlRequest = new BuildRequestData(projectFileName, GlobalProperty, null, new string[] { "Build" }, null);
BuildParameters bp = new BuildParameters(pc);
How can I get all the options of configuration and platform from solution file instead of just written Debug
and Mixed
Platform?
Thanks