Revert "Add "--no-restore" parameter to "dotnet run" (#1104)"

This reverts commit 78877b6ba2.
This commit is contained in:
Kiran Challa 2017-06-14 20:06:03 -07:00
parent 9f49d34c17
commit 0b90376bbf
1 changed files with 1 additions and 8 deletions

View File

@ -93,14 +93,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
var targetFramework = DeploymentParameters.TargetFramework ?? (DeploymentParameters.RuntimeFlavor == RuntimeFlavor.Clr ? "net461" : "netcoreapp2.0");
executableName = DotnetCommandName;
executableArgs = $"run --framework {targetFramework}";
// Workaround for:
// Publish fails on app with project reference to netstandard2.0 class library
// https://github.com/dotnet/cli/issues/6843
executableArgs += " --no-restore";
executableArgs += $" {DotnetArgumentSeparator}";
executableArgs = $"run --framework {targetFramework} {DotnetArgumentSeparator}";
}
executableArgs += $" --server.urls {hintUrl} "