I have added exist class library reference(v4.8) to my .Net Core project(v6.0).
When CI process begin in Azure
This is the error log from docker;
2.709 Build FAILED.
2.710
2.710 /src/EMX.UserManagement.API/EMX.UserManagement.API.csproj : warning NU1608: Detected package version outside of dependency constraint: MicroElements.Swashbuckle.FluentValidation 5.4.0 requires FluentValidation (>= 10.0.0 && < 11.0.0) but version FluentValidation 11.2.1 was resolved.
2.710 /src/EMX.UserManagement.API/EMX.UserManagement.API.csproj : warning NU1608: Detected package version outside of dependency constraint: MicroElements.Swashbuckle.FluentValidation 5.4.0 requires FluentValidation (>= 10.0.0 && < 11.0.0) but version FluentValidation 11.2.1 was resolved.
2.710 /usr/share/dotnet/sdk/6.0.423/Microsoft.Common.CurrentVersion.targets(1220,5): error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks [/src/Password Utils/PlatformPasswordUtils.csproj]
2.710 2 Warning(s)
I have already installed 4.8 dev pack in my PC and its also working as expected in my local machine.
How to resolve this in azure? Should Dev Guys install this 4.8 dev pack in azure as well?