ASP.Net Core 7 cannot be built in the Azure Devops Pipeline (CI) using the Classic pipeline and the ASP.Net Core template.
Error message : 
##[error] C:\Program Files\dotnet\sdk\6.0.203\Sdks\ Microsoft.NET.Sdk\targets\
Microsoft.NET.TargetFrameworkInference.targets(144,5): 
Error NETSDK1045: 
The current.NET SDK does not support.NET 7.0 targeting. 
Either target.NET 6.0 or lower, or use a.NET SDK version that supports.NET 7.0.