I am attempting to publish and consume versioned NuGet packages of class libraries while avoiding headaches for local development. Here is a sample Visual Studio solution la
My not-so-clean yet fastest solution so far is:
VS Solution 1: contains libraries published as nuget packages:
Solution1
|_ my.first.library
|_ my.second.library
VS Solution 2: contains applications, which consume one or more of the above libraries as PackageReferences:
Solution2
|_ my.first.application
| |_ depends on nuget my.first.library (let's say v1.0.1)
|
|_ my.second.application
In case, I'm making changes to my.first.library
my.first.library and rebuildmy.first.library (e.g. /my.first.library/bin/debug/netstandard2.0 ) and copy the .dll and .pdb filesmy.first.library's local directory of the currently being used nuget feed (for example at: C:\Users\user.name\.nuget\packages\my.first.library\1.0.1lib\netstandard2.0) and replace the .dll and .pdb files there with the ones generated in step 1 (possibly making backup).my.first.application. Continue working and repeat steps 1-4, when needed.csproj/.sln files