Description
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
Description
Not sure if it's a bug, expected behaviour or something else. But if I do a
paket update --keep-majorwhen 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. Runningpaket updateagain removes the files as expected.Repro steps
Please provide the steps required to reproduce the problem
paket initpaket add nuget bootstrap project <projectname>content:nonenext to bootstrappaket updatepaket update --keep-majorExpected 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:nonefor the package as wellRelated information