Skip to content

always generates load scripts? #175

@ntwilson

Description

@ntwilson

Description

Whenever I restore from Visual Studio, it always generates a ".paket/load" folder with load scripts. I have tried putting generate_load_scripts: false in my paket.dependencies file, as well as just removing any mention of generate_load_scripts. This is only an issue because sometimes I use VS Code as well, and OmniSharp (the plugin for C# in VS Code) will crash VS Code entirely if I open a folder that contains load scripts.

Repro steps

Please provide the steps required to reproduce the problem

  1. Create a solution containing C# projects that uses paket.

  2. Add generate_load_scripts: false to the top of the paket.dependencies file.

  3. Set the VS setting to "Automatically restore packages during build in Visual"

  4. Build the solution in VS

Expected behavior

The .paket folder would only contain paket.exe, paket.Restore.targets, and paket.targets

Actual behavior

The .paket folder also contains a "load" folder with load scripts.

Known workarounds

Delete the load folder manually each time you open VS Code.

Related information

  • Operating system: Win 10
  • Branch: Installed from the extension marketplace
  • .NET Runtime Version: ? Of my solution? net471
  • Performance information, links to performance testing scripts: none

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