Revert "Add "--no-restore" parameter to "dotnet run" (#1104)"
This reverts commit 78877b6ba2.
This commit is contained in:
parent
9f49d34c17
commit
0b90376bbf
|
|
@ -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} "
|
||||
|
|
|
|||
Loading…
Reference in New Issue