Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dallinbeutler opened this issue Jun 19, 2020 · 2 comments
Open

Comments

@dallinbeutler
Copy link

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):

  • OS: Windows 10
  • Ionide version: 4.14.0
  • Ionide Paket version: 2.0.0
  • Paket version: 5.215.0
  • VSCode version: 1.46.1
  • dotnet SDK version: 5.0.100-preview.4.20258.7
  • mono / .Net Framework version: net5.0

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

@dallinbeutler
Copy link
Author

dallinbeutler commented Jun 19, 2020

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

@dallinbeutler
Copy link
Author

dallinbeutler commented Jun 19, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant