Sitelet https://github.com/fsprojects/Paket/issues/1829
Skip to content

Paket update does not update .csproj file correctly anymore (Regression) #1829

Description

@franknarf8

Description

We encountered a new problem with one of our packages. When we pulled on it, paket did not add a reference to the dll in the project file.

Repro steps

Here is a repro sample;
https://github.com/franknarf8/paket-issue-repro/tree/b363bf2d50031e71ff9bb3a39ca471b44b64f8c7

Here, we are trying to install WindowsNative in the project Sandbox2.0.

The commands listed below do not have the same effect on the .csproj file. We were expecting the old behavior. If the new behavior is the correct one, why is it so?

Expected behavior

When we ran : .paket\paket.exe.old.exe update (2.66.3.0)
Paket used to create a reference to that dll in the .csproj file.

Actual behavior

Now, when we run : .paket\paket.exe.new.exe update (3.8.1.0)
The reference is removed from the .csproj file.

Known workarounds

Link directly to the .dll (bad workaround)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions