Paket install does not do a dotnet restore and does not notify Ionide
See original GitHub issueWhen 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
- Create an empty F# console application.
- Convert it to paket
- Add
Saturn
to the dependencies file. - Add a paket references file and add Saturn as well.
- Run paket install.
- Try to open the
Saturn
namespace. Observe that the compiler does not recognise it in e.g. Ionide. - Run
dotnet restore
. - Observe that the namespace is now available.
Sample dependencies file
source https://www.nuget.org/api/v2
storage: none
nuget Saturn
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Can't get paket to work for the simplest case : r/fsharp
I think you need to run `dotnet paket restore`; this will ensure that the package is actually restored and available to your app....
Read more >Getting Started with Paket – Part 1 - The Cockney Coder
Add a single line into the file – just the word webgrease. Run paket install. Remember that since paket automatically checks if the...
Read more >I can't use libraries installed with paket tool
If your dotnet version is 6.0, you can't use any library you added. Solution is simple: just add net6.0 to that line. framework:...
Read more >release-notes
Restore command doesn't calc install model. Use https in DefaultNugetStream - https://github.com/fsprojects/Paket/pull/251; BUGFIX: Paket only deletes files ...
Read more >fsautocomplete 0.56.2
NET tool you can call from the shell/command line. ... Restore dotnet tools to install local Paket and FAKE dotnet tool restore; Build...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
dotnet new is calling dotnet restore. So yes you have that file hanging around
can you please update the text with when you open ionide in the process