Skip to content

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

Open
@dallinbeutler

Description

@dallinbeutler

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?

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