Skip to content

paket update removes app.config redirects, paket install re-adds them #2240

Open
@0x53A

Description

@0x53A

I have forced redirects for a few annoying assemblies:

nuget FSharp.Core 4.1.0 redirects:force
nuget Newtonsoft.Json 9.0.1 redirects:force

This is the diff of my app.config after running update:
image

This is the diff of the same file, after running install (without changing anything else):
image

Combined, they are a no-op.

Note that this also happens on the first install after changing anything in paket.dependencies. The first install will then update the lockfile and remove all bindings. The second install will re-add the bindings.

Known workarounds

run install again after update

Version

Paket version 4.4.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions