Skip to content
Permalink
Browse files

[Build] Use active build configuration rather than forcing Debug

  • Loading branch information
xen2 committed Dec 1, 2018
1 parent 28c1b82 commit 51b613f7e84c2e0573c2201467af15fd1ab87b0d
@@ -86,6 +86,7 @@ private BuildResultCode BuildMaster()
AutoCompileProjects = !builderOptions.DisableAutoCompileProjects,
ExtraCompileProperties = builderOptions.ExtraCompileProperties,
RemoveUnloadableObjects = true,
BuildConfiguration = builderOptions.ProjectConfiguration,
};

// Loads the root Package
@@ -94,7 +94,7 @@ private async Task PreLoadPackageDependencies(ILogger log, SolutionProject proje
// Load some informations about the project
try
{
var msProject = VSProjectHelper.LoadProject(project.FullPath, extraProperties: new Dictionary<string, string> { { "SkipInvalidConfigurations", "true" } });
var msProject = VSProjectHelper.LoadProject(project.FullPath, loadParameters.BuildConfiguration, extraProperties: new Dictionary<string, string> { { "SkipInvalidConfigurations", "true" } });
try
{
var packageVersion = msProject.GetPropertyValue("PackageVersion");

0 comments on commit 51b613f

Please sign in to comment.
You can’t perform that action at this time.