Home > Software design >  How to create an ASP Core web app deployment in Visual Studio 2022?
How to create an ASP Core web app deployment in Visual Studio 2022?

Time:05-09

I'm attempting to create an Azure Pipeline that deploys an ASP Core web app to an Azure App Service.

I've created the Azure pipeline to build the web app.

The pipeline deployment expects to find a .zip deployment package in the build, so I'm expecting to configure a Publish step to create this.

In VS2022 the only publish option that creates a web deployment is the Web Server (IIS) option which requires the details of an IIS server.

So how in VS2022 do I configure a simple web deployment publish step? I don't expect to have to set up IIS to do this.

CodePudding user response:

You should use dotnet publish command to do this. For local development use enter image description here

  • Related