Bring has runtime output back

This commit is contained in:
Pavel Krymets 2016-04-07 08:08:48 -07:00
parent 890e9840d3
commit 13aee118e9

View file

@ -489,7 +489,10 @@ namespace Microsoft.DotNet.Tools.Build
private void MakeRunnable()
{
var runtimeContext = _rootProject.CreateRuntimeContext(_args.GetRuntimes());
var runtimeContext = _rootProject.ProjectFile.HasRuntimeOutput(_args.ConfigValue) ?
_rootProject.CreateRuntimeContext(_args.GetRuntimes()) :
_rootProject;
var outputPaths = runtimeContext.GetOutputPaths(_args.ConfigValue, _args.BuildBasePathValue, _args.OutputValue);
var libraryExporter = runtimeContext.CreateExporter(_args.ConfigValue, _args.BuildBasePathValue);