Merge pull request #2337 from dotnet/pakrym/hasruntimeoutput
Bring `has runtime output` check back
This commit is contained in:
commit
ed05e164fb
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue