Revert "Add "--no-restore" parameter to "dotnet publish" (#1101)"
This reverts commit 007e3b6b51.
This commit is contained in:
parent
0b90376bbf
commit
53128bca0e
|
|
@ -56,11 +56,6 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
||||||
+ $" --framework {DeploymentParameters.TargetFramework}"
|
+ $" --framework {DeploymentParameters.TargetFramework}"
|
||||||
+ $" --configuration {DeploymentParameters.Configuration}";
|
+ $" --configuration {DeploymentParameters.Configuration}";
|
||||||
|
|
||||||
// Workaround for:
|
|
||||||
// Publish fails on app with project reference to netstandard2.0 class library
|
|
||||||
// https://github.com/dotnet/cli/issues/6843
|
|
||||||
parameters += " --no-restore";
|
|
||||||
|
|
||||||
if (DeploymentParameters.ApplicationType == ApplicationType.Standalone)
|
if (DeploymentParameters.ApplicationType == ApplicationType.Standalone)
|
||||||
{
|
{
|
||||||
parameters += $" --runtime {GetRuntimeIdentifier()}";
|
parameters += $" --runtime {GetRuntimeIdentifier()}";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue