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

Paket install does not do a dotnet restore and does not notify Ionide #3577

Description

@isaacabraham

When you call paket install, I would expect dotnet restore to be implicitly called, but it is not - you have to explicitly call dotnet restore in order to get installed projects to show up. Using paket global tool version 5.207.0.

Steps to reproduce

  1. Create an empty F# console application.
  2. Convert it to paket
  3. Add Saturn to the dependencies file.
  4. Add a paket references file and add Saturn as well.
  5. Run paket install.
  6. Try to open the Saturn namespace. Observe that the compiler does not recognise it in e.g. Ionide.
  7. Run dotnet restore.
  8. Observe that the namespace is now available.

Sample dependencies file

source https://www.nuget.org/api/v2
storage: none

nuget Saturn

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