CI/CD of a ASP.NET Core Web API using VSTS

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

CI/CD of a ASP.NET Core Web API using VSTS

Message par Clippy »

CI/CD of a ASP.NET Core Web API using VSTS
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: CI/CD of a ASP.NET Core Web API using VSTS

Message par Clippy »

As the warning message, your repository seems has no web project.
So you should **deselect** the **Publish Web Projects** option in .NET Core publish task, and specify your `.csproj` in project(s) option.

[](https://i.sstatic.net/AWiDl.png)

And you can also find the hint message for **Publish Web Projects option** as below:


If true, the task will try to find the web projects in the repository
and run the publish command on them. Web projects are identified by
presence of either a web.config file or wwwroot folder in the
directory.
Répondre

Revenir à « Azure DevOps »