Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Revert "Add "--no-restore" parameter to "dotnet publish" (#1101)"
Browse files Browse the repository at this point in the history
This reverts commit 007e3b6.
  • Loading branch information
kichalla committed Jun 15, 2017
1 parent 0b90376 commit 53128bc
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ protected void DotnetPublish(string publishRoot = null)
+ $" --framework {DeploymentParameters.TargetFramework}"
+ $" --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)
{
parameters += $" --runtime {GetRuntimeIdentifier()}";
Expand Down

0 comments on commit 53128bc

Please sign in to comment.