teenup
teenup

Reputation: 7667

Nuget package updated in a referenced project but still shows the old one

I have a project A in visual studio which references another project B in the same solution.

The project B has a nuget package reference of another project C. I make some changes to project C and rebuild a pre-release nuget version of C and update the nuget package reference in B project. The project B properly shows the updated nuget version.

But, the project B showing up under Project References in A still shows the old nuget package version. I deleted and re-added the project reference B but without any success.

What I need to do to have updated nuget package in the project B under A?

Upvotes: 2

Views: 3694

Answers (1)

Mr Qian
Mr Qian

Reputation: 23780

enter image description here

When I update Project C from 2.0.0 into 3.0.0-beta1, Project A and Project B are all the same version.

So for your issue, please try to delete bin and obj folder of Project A and Project B.

Update

The issue is that Project A also has a nuget reference of previous Project C which leads it always shows the old version of Project C.

Upvotes: 2

Related Questions