-
Notifications
You must be signed in to change notification settings - Fork 52
Description
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
-
Create a solution containing C# projects that uses paket.
-
Add
generate_load_scripts: falseto the top of the paket.dependencies file. -
Set the VS setting to "Automatically restore packages during build in Visual"
-
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