I am working on a .net6 project and using Automapper version 12.0.0.0 in one of the class library(say BusinessLayer), which is working fine.
Now when I add another locally developed (Say Package1) nuget package which has Automapper dependency as >=10.1.1 in the BusinessLayer class library then this Pkg1 package adds Automapper dependency with 12.0.0.0 version. However, this Package1 package is not compatible with Automapper 12.0.0.0 version. How can I downgrade the Automapper dependency of a Package1 to 10.1.1?
<PackageReference Include="AutoMapper" Version="12.0.0" /><PackageReference Include="Package1" Version="4.0.1" />
Can someone help me downgrade the Automapper dependency of a pkg1 to 10.1.1?