Build a Xamarin project via Roslyn and get the assembly
问题 I need to build a Xamarin solution (the UWP project of the solution) from a console application (another solution). In windows or web applications all the referenced files are listed in the project`s file. Therefore, I am able to simply emit the project's compilation and get the assembly file. var solutionPath = "folder\solution name.sln"; var workspace = MSBuildWorkspace.Create(); var solution = await workspace.OpenSolutionAsync(solutionPath, CancellationToken); var project = solution