'Azure Pipeline Ambiguous Selection
I've a private repository in my Azure DevOps.
It was a WebAPI built on .NET 6 preview. But when I try to create a Pipeline for this, These are the options DevOps is offering me.
My application is an ASP.NET Core WebAPI. But here it was mentioned: "Build and Test ASP.NET Projects targeting .NET Framework". I thought Classic ASP.NET is on .NET Framework and ASP.NET Core is for .NET Core.
Which Pipeline I can use to build my app and why ASP.NET Core has a (.NET Framework) in brackets?
Solution 1:[1]
Solution 2:[2]
Until today these templates do not work for modern net 5.0+ apps. This is what should be done https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/dotnet-core?view=azure-devops&tabs=dotnetfive
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Krzysztof Madej |
| Solution 2 | GorillaApe |


