add support for type: platform
also some refactoring of DependencyContext to properly handle placeholders in 'runtimeTargets'.
This commit is contained in:
parent
39584c5612
commit
43512b8973
60 changed files with 870 additions and 572 deletions
|
@ -99,7 +99,7 @@ namespace Microsoft.DotNet.Cli.Build.Framework
|
|||
{
|
||||
if (target == null)
|
||||
{
|
||||
throw new ArgumentNullException("target");
|
||||
throw new ArgumentNullException(nameof(target));
|
||||
}
|
||||
|
||||
if (target.Conditions == null)
|
||||
|
@ -122,7 +122,7 @@ namespace Microsoft.DotNet.Cli.Build.Framework
|
|||
{
|
||||
if (target == null)
|
||||
{
|
||||
throw new ArgumentNullException("target");
|
||||
throw new ArgumentNullException(nameof(target));
|
||||
}
|
||||
|
||||
var sectionName = $"{target.Name.PadRight(_maxTargetLen + 2).Yellow()} ({target.Source.White()})";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue