There is a library build with .net framework 4.5, it serves as a NuGet package for other projects to reference.
In the testing phase, using the project reference method, it can work normally. However, after publishing it as NuGet, the project referenced using NuGet cannot work properly.
I tried to check the version of this library in the Bin directory, but found that it was the last version. I made sure to use the correct version in the NuGet package.
When I use the correct version of the dll to overwrite the class library copied from NuGet to the Bin directory, it still fails to work correctly.
What could be the reason for this?
Generated using Google Translate.