'Nuget package does not contain latest code unless version number is modified in project properties
This is a NuGet newbie question.
I have a .net core 2.0 class library project which I have just started working on. I need to package this and install that package in a different asp.net project which is also in its initial stages.
So right now there are frequent, major changes occurring in both projects.
Right now, every time I modify something in the class library project, I package it to a .nupkg file and install it to my asp.net project so that my changes are available in the asp.net project.
However my issue is that when I package the library I have to keep incrementing the Package Version in the project properties, and update the package to the latest version in the asp.net project.
Its almost as if every version is cached. I have tried cleaning the solution but still no luck.
I don't want to keep changing the version at this stage because I'm just starting off and have not set up CI/CD pipelines.
How can I clear off all traces of a nuget package so I can create and install a new package with updated code without having to change the version?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
