Skip to main content
Updated the answer
Source Link
Sumit Bhatia
  • 5.9k
  • 2
  • 9
  • 25

Try this.

  • Downloaded nuget.exe, manually using this https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe

  • Create an empty folder as Nuget under C:\Program Files. ex. -- C:\Program Files\Nuget

  • Copy the nuget.exe to C:\Program Files\Nuget\

  • Comment this line in Dockerfile, available in ROOT_PROJECT\docker\build\dotnetsdk\Dockerfile

  • RUN Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe" -UseBasicParsing -OutFile "$env:ProgramFiles\NuGet\nuget.exe"

    ## RUN `Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe" -UseBasicParsing -OutFile "$env:ProgramFiles\NuGet\nuget.exe"`
    
  • Afterwards run .\up.ps1 again

Hope this will solve your issue.

Thanks

Try this.

  • Downloaded nuget.exe, manually using this https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe

  • Create an empty folder as Nuget under C:\Program Files. ex. -- C:\Program Files\Nuget

  • Copy the nuget.exe to C:\Program Files\Nuget\

  • Comment this line in Dockerfile, available in ROOT_PROJECT\docker\build\dotnetsdk\Dockerfile

  • RUN Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe" -UseBasicParsing -OutFile "$env:ProgramFiles\NuGet\nuget.exe"

  • Afterwards run .\up.ps1 again

Hope this will solve your issue.

Thanks

Try this.

  • Downloaded nuget.exe, manually using this https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe

  • Create an empty folder as Nuget under C:\Program Files. ex. -- C:\Program Files\Nuget

  • Copy the nuget.exe to C:\Program Files\Nuget\

  • Comment this line in Dockerfile, available in ROOT_PROJECT\docker\build\dotnetsdk\Dockerfile

    ## RUN `Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe" -UseBasicParsing -OutFile "$env:ProgramFiles\NuGet\nuget.exe"`
    
  • Afterwards run .\up.ps1 again

Hope this will solve your issue.

Thanks

Source Link
Sumit Bhatia
  • 5.9k
  • 2
  • 9
  • 25

Try this.

  • Downloaded nuget.exe, manually using this https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe

  • Create an empty folder as Nuget under C:\Program Files. ex. -- C:\Program Files\Nuget

  • Copy the nuget.exe to C:\Program Files\Nuget\

  • Comment this line in Dockerfile, available in ROOT_PROJECT\docker\build\dotnetsdk\Dockerfile

  • RUN Invoke-WebRequest "https://dist.nuget.org/win-x86-commandline/v5.6.0/nuget.exe" -UseBasicParsing -OutFile "$env:ProgramFiles\NuGet\nuget.exe"

  • Afterwards run .\up.ps1 again

Hope this will solve your issue.

Thanks