Sitelet https://github.com/fsprojects/Paket/issues/1820
Skip to content

Changing nuget uri from http to https in paket.dependencies causes error. #1820

Description

@JohanLarsson

Description

I changed from source https://www.nuget.org/api/v2/ to source http://www.nuget.org/api/v2/
in paket.dependencies and it caused install and restore to fail with:
The NuGet source http://www.nuget.org/api/v2 for package NUnit was not found in the paket.dependencies file

Repro steps

  1. Extract NugetSourceWasNotFound.zip
  2. Run paket.exe restore or paket.exe install

This may be due to me sitting behind a proxy, not sure it repros everywhere. Will test when I get home.

Known workarounds

Manually change the paket lock file to remote: https://www.nuget.org/api/v2

Related information

  • Win 7
  • Behind a proxy.
  • Latest paket.
  • .NET

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions