update nuget to 4.0.0-rc3 and sdk to 1.0.0-alpha-20170105-5 (#5214)
* update nuget to 4.0.0-rc3 and sdk to 1.0.0-alpha-20170105-5 * Modifying restore project.json to use the project.json stage0 CLI instead of restore-projectjson command. * add a nuget dependency so migrated project has packageref and generates an assets file on restore
This commit is contained in:
parent
5044c76be4
commit
5bbfbfeeed
11 changed files with 30 additions and 25 deletions
|
@ -8,21 +8,20 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
public sealed class RestoreProjectJsonCommand : TestCommand
|
||||
{
|
||||
public RestoreProjectJsonCommand()
|
||||
: base("dotnet")
|
||||
: base(new RepoDirectoriesProvider().PjDotnet)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override CommandResult Execute(string args="")
|
||||
{
|
||||
args = $"restore-projectjson {args}";
|
||||
args = $"restore {args}";
|
||||
|
||||
return base.Execute(args);
|
||||
}
|
||||
|
||||
public override CommandResult ExecuteWithCapturedOutput(string args = "")
|
||||
{
|
||||
args = $"restore-projectjson {args}";
|
||||
args = $"restore {args}";
|
||||
return base.ExecuteWithCapturedOutput(args);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue