I have solution with some C# project in visual studio. In another project user can show all projects in first solution. User select some project to build. also select between Release/Debug and x64/x86/any.
I can build one project with this code
Microsoft.build.Evaluation.project p = new Microsoft.build.Evaluation.project(project_path);
p.Build();
But I don't know how to build project with selected Release/Debug and x64/x86/any.
How can I change build destination directory?