Addressing code review comments and making incremental build work.
This commit is contained in:
parent
52e9475be8
commit
9135be75f4
14 changed files with 458 additions and 481 deletions
|
@ -18,10 +18,13 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
{
|
||||
public class RemoveAssetFromDepsPackages : Task
|
||||
{
|
||||
[Required]
|
||||
public string DepsFile { get; set; }
|
||||
|
||||
[Required]
|
||||
public string SectionName { get; set; }
|
||||
|
||||
[Required]
|
||||
public string AssetPath { get; set; }
|
||||
|
||||
public override bool Execute()
|
||||
|
@ -31,7 +34,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
return true;
|
||||
}
|
||||
|
||||
private static void DoRemoveAssetFromDepsPackages(string depsFile, string sectionName, string assetPath)
|
||||
public static void DoRemoveAssetFromDepsPackages(string depsFile, string sectionName, string assetPath)
|
||||
{
|
||||
JToken deps;
|
||||
using (var file = File.OpenText(depsFile))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue