ionide / ionide-vscode-paket

VS Code plugin for Paket
http://ionide.io
MIT License
41 stars 29 forks source link

Brand new project fails to load after being converted from Nuget #84

Open dallinbeutler opened 4 years ago

dallinbeutler commented 4 years ago

Describe the bug I'm trying to create a brand new console project from the Ionide command-palette and convert it to Paket. When I reload the window, the project fails to load with a status of "failed to load" and an error of "Project not restored"

To Reproduce Steps to reproduce the behaviour:

  1. Open VS Code in a blank directory
  2. Press Ctrl + Shift + P > F#: Create New Project
  3. Select New Console Application
  4. Name your folder and your project. I named both "TestProj"
  5. Ctrl + Shift + P > Developer: Reload Window
  6. The project should reload just fine inside Ionide
  7. Ctrl + Shift + P > Paket: Convert from Nuget (I also tried Paket: Install)
  8. Wait for command to finish
  9. Ctrl + Shift + P > Developer: Reload Window
  10. Project fails to load with errors mentioned above

Expected behaviour The project should load within Ionide just fine.

Environment (please complete the following information):

Additional context My guess is something to do with the net5.0 TargetFramework being incompatible with Paket?

dallinbeutler commented 4 years ago

just tried updating paket to 5.247.2 and also 6.0.0-alpha033, still fails

dallinbeutler commented 4 years ago

I realize now this is probably a hidden backend issue related to Paket itself, considering dotnet build in the new project directory results in the error: Extracting platforms from path 'net5.0' failed, a newer Paket version might support it, otherwise please open an issue for a missing platform handler.

Should I close this issue, or wait for the solution on Paket's side to retest?