-
Notifications
You must be signed in to change notification settings - Fork 51
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
always generates load scripts? #175
Comments
Could you please upload a zip with the repro?
nathan wilson <[email protected]> schrieb am Di., 2. Apr. 2019,
17:55:
… 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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#175>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADgNLduSLlpNRRkjhBbTfWevlHfXMgmks5vc31zgaJpZM4cYcVD>
.
|
Okay, I had some trouble reproducing it from scratch, and learned more about the problem. Apparently it happens when your paket.dependencies file and paket.lock file are out-of-sync. Using the CLI, paket.dependencies wins (if you say |
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 ofgenerate_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: false
to 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
The text was updated successfully, but these errors were encountered: