I have updated the .Net C# project from package reference to NuGet package references. The project uses the AutoMapper 4.0.4 but after the NuGet upgrade, it got upgraded to 9.0.0 version. If I try to downgrade it will throw below error.
After some investigation, i have found that we are using 1 custom NuGet package called Framework and it has the dependency of Automapper 9.0.0 that's why when i try to downgrade it revert it back to 4.0.4.
Upgrading AutoMapper will take a lot of time and i need a quick fix to run the project. Can i have some configuration that lets me use Automapper 9.0.0 for Custom Framework and Automapper 4.0.4 for code?