BUG?: update with any of the --keep-?? flags doesn't honour content:none in paket.dependencies
See original GitHub issueDescription
Not sure if it’s a bug, expected behaviour or something else. But if I do a paket update --keep-major
when I have specified content:none for a package in paket.dependencies, I end up with the contents being copied to the project folder and the csproj being updated. Running paket update
again removes the files as expected.
Repro steps
Please provide the steps required to reproduce the problem
- create an empty solution with an bare class library project
paket init
paket add nuget bootstrap project <projectname>
- note the addition of the content files to the project (folders contents, fonts, scripts)
- edit paket.dependencies and place
content:none
next to bootstrap paket update
- note the contents have been removed from the project
paket update --keep-major
- note the contents are back.
Expected behavior
at step 9, the project should not contain the contents of the bootstrap package
Actual behavior
It does
Known workarounds
update the package.references file to include content:none
for the package as well
Related information
- Operating system: Windows 7
- Branch : paket version 2.65.2.0
- .NET Runtime, CoreCLR or Mono Version: 4.5
- Performance information, links to performance testing scripts
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
release-notes
BUGFIX: Update with any of the --keep-major flag didn't honour content:none in paket.dependencies - https://github.com/fsprojects/Paket/issues/1701 ...
Read more >package.json
This file contains the dependencies renderized and super-streams which can be installed in a new project by executing npm install awesome-web-framework-1.0.0.
Read more >I can't use libraries installed with paket tool
If your dotnet version is 6.0, you can't use any library you added. Solution is simple: just add net6.0 to that line. framework:...
Read more >Docker Compose release notes
Fixed a bug with random missing network when a service has more than one. Fixed the Secrets file permission value to comply with...
Read more >Release notes & updates – Azure CLI
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Puhh at least someone understood. 😉
Excellent work. Thanks. And yes, I think it was understood all round. 😉