You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is pretty much a copy and paste from #1701
and is presumably related.
I haven't been able to create a project that does this outside of work, so I can't send you a repro. I'm sure there's something simple I'm missing, but haven't been able to figure it out. All that is needed is a set of projects that create an assemblybindingredirect under normal conditions, then editing the paket.dependencies file as described in the repro steps.
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
set global redirects:off in paket.dependencies file
paket add nuget project
note the lack of the assembly binding redirect in the app.config
edit paket.dependencies and place redirects:on next to the package name
paket update
note assembly binding redirects have now appeared
paket update --keep-major
note the assembly binding redirects are missing.
Expected behavior
at step 9, the project should not contain the contents of the bootstrap package
Actual behavior
assembly binding redirect gone missing.
Known workarounds
must set the global redirects to on.
Related information
Operating system: Windows 7
Branch : paket version 2.58.6 and onward. (tested with 2.58.6 and 3.10.0)
.NET Runtime, CoreCLR or Mono Version: 4.5
Performance information, links to performance testing scripts
The text was updated successfully, but these errors were encountered:
This is pretty much a copy and paste from #1701
and is presumably related.
I haven't been able to create a project that does this outside of work, so I can't send you a repro. I'm sure there's something simple I'm missing, but haven't been able to figure it out. All that is needed is a set of projects that create an assemblybindingredirect under normal conditions, then editing the paket.dependencies file as described in the repro steps.
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
Expected behavior
at step 9, the project should not contain the contents of the bootstrap package
Actual behavior
assembly binding redirect gone missing.
Known workarounds
must set the global redirects to on.
Related information
The text was updated successfully, but these errors were encountered: