I am using Azure DevOps with Azure Git and I believe I’ve created an ASP.Net Core application (
.NET 5.0) that is my web API (Project/Solution A).
I’ve created a separate solution/project/branch for a
MSTest project of unit tests that target the other application (web API) to verify the endpoints are all working (Project/Solution B)
I’m trying to create a pipeline to build Project B, so that I can link the test cases, but when I go to choose the pipeline configuration, I see
ASP.NET Core (.NET Framework) and
- I thought
.NET Core, so how can it be both
(.NET Framework)at the same time?
- What is the proper way to describe what my project is targeting? ".NET 5.0", ".NET Core", "ASP.NET Core 5.0", "ASP.NET Core", etc?
Here is Solutions:
We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.
I thought ASP.NET Core used .NET Core, so how can it be both ASP.NET Core and (.NET Framework) at the same time?
Use the ASP.NET Core template. That because the template ASP.NET Core (.NET Framework) target for the full .NET Framework：
What is the proper way to describe what my project is targeting? ".NET
5.0", ".NET Core", "ASP.NET Core 5.0", "ASP.NET Core", etc?
ASP.NET Core 5.0 should be the proper way to describe your project is targeting. That because we could create the Console application with
.NET 5.0 or a
ASP.NET Core 2.0 project. So,
ASP.NET Core 5.0 can accurately describe your project type and target’s .net core version.
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂