I am stuck on an issue building my solution containing .NET 6 project and .NET Framework (4.0 and 4.6.1) projects on Azure DevOps build pipeline (with dotnet build and msbuild task). I cannot use windows-2019 as build agent coz of .NET 6 and unable to make work windows-2022 coz of .NET framework < 4.8 anyone come across this and know how you/they tackled this situation please?
Upgrading .NET Framework option is an expensive approach time-wise.
Any help appreciated. Thanks

