diff --git a/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/project.json b/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/project.json index 1720635d6f..57931c8996 100644 --- a/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/project.json +++ b/TestAssets/DesktopTestProjects/AutoAddDesktopReferencesDuringMigrate/project.json @@ -4,7 +4,9 @@ "debugType": "portable", "emitEntryPoint": true }, - "dependencies": {}, + "dependencies": { + "Newtonsoft.Json": "9.0.1" + }, "frameworks": { "net451": {} }, diff --git a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj index a4c7e260ea..4ca756e18f 100644 --- a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj +++ b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj @@ -24,7 +24,7 @@ 1.0.3 - 4.0.0-rc2 + 4.0.0-rc3 $(SdkNugetVersion) diff --git a/build/Microsoft.DotNet.Cli.BundledSdks.props b/build/Microsoft.DotNet.Cli.BundledSdks.props index 6b5abffdb7..baab92a0b3 100644 --- a/build/Microsoft.DotNet.Cli.BundledSdks.props +++ b/build/Microsoft.DotNet.Cli.BundledSdks.props @@ -2,7 +2,7 @@ - + diff --git a/build/Microsoft.DotNet.Cli.DependencyVersions.props b/build/Microsoft.DotNet.Cli.DependencyVersions.props index 2e4f35ab19..7b73d8094d 100644 --- a/build/Microsoft.DotNet.Cli.DependencyVersions.props +++ b/build/Microsoft.DotNet.Cli.DependencyVersions.props @@ -3,7 +3,7 @@ 15.1.0-preview-000503-01 2.0.0-rc3-61212-03 - 1.0.0-alpha-20170105-1 + 1.0.0-alpha-20170105-5 1.0.0-alpha-20170106-1-203 15.0.0-preview-20161227-02 1.0.0-beta1-20170106-79 diff --git a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj index d2a5d8ec41..8e5ec2d2f8 100644 --- a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj +++ b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj @@ -1,13 +1,12 @@ - + - Build scripts for dotnet-cli 1.0.0 netcoreapp1.0 true bin\$(Configuration) - $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 + $(PackageTargetFallback);portable-net45+win8+wp8+wpa81 @@ -42,11 +41,16 @@ 7.2.1 - 4.0.0-rc2 + 4.0.0-rc3 $(CLI_MSBuild_Version) + + + $(CLI_MSBuild_Version) + 1.0.1-beta-000933 diff --git a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj index 22324b2151..f6337cf28a 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj +++ b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj @@ -18,16 +18,16 @@ 1.0.1-beta-000933 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 $(CLI_MSBuild_Version) diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj index c3dfcdf3f2..7711edecba 100644 --- a/src/redist/redist.csproj +++ b/src/redist/redist.csproj @@ -15,7 +15,7 @@ $(CLI_MSBuild_Version) - 4.0.0-rc2 + 4.0.0-rc3 $(CLI_TestPlatform_Version) diff --git a/src/tool_nuget/tool_nuget.csproj b/src/tool_nuget/tool_nuget.csproj index afc588439b..36c74b48b2 100644 --- a/src/tool_nuget/tool_nuget.csproj +++ b/src/tool_nuget/tool_nuget.csproj @@ -10,7 +10,7 @@ 1.0.3 - 4.0.0-rc2 + 4.0.0-rc3 diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj index 5c005311f0..c9d901f0d7 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj @@ -57,16 +57,16 @@ 4.1.1 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 - 4.0.0-rc2 + 4.0.0-rc3 4.4.0-beta8 diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/RestoreProjectJsonCommand.cs b/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/RestoreProjectJsonCommand.cs index 8f67032417..a54d896057 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/RestoreProjectJsonCommand.cs +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/RestoreProjectJsonCommand.cs @@ -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); } } diff --git a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs index 772dc76396..6621200c71 100644 --- a/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs +++ b/test/dotnet-migrate.Tests/GivenThatIWantToMigrateTestApps.cs @@ -681,9 +681,9 @@ private void MigrateProject(params string[] migrateArgs) private void RestoreProjectJson(string projectDirectory) { - new TestCommand("dotnet") - .WithWorkingDirectory(projectDirectory) - .Execute("restore-projectjson") + var projectFile = "\"" + Path.Combine(projectDirectory, "project.json") + "\""; + new RestoreProjectJsonCommand() + .Execute(projectFile) .Should().Pass(); }