My .NET Core project references a class library from another project.
I publish the nuget package to a local folder like this:
"scripts": {
"postcompile": [
"dotnet pack --no-build --configuration %compile:Configuration% -o D:\\mynugetpackages\\%project:Name%"
]
}
Then I add a reference to another project from this folder.
Every time I update my class library, I have to manually go to manage nuget packages and then update nuget packages from Visual Studio in the referencing project.
Is there a way to automate this, so that when I make an update and publish latest nuget package, the referencing project will automatically update to the latest update?