Unable to push my asp.net MVC files into Azure webapp

JR 1 Reputation point
2022-07-12T12:31:19.55+00:00

Hi,

While deploying ASP.net MVC project using Azure release pipeline, only web.config file is getting pushed into Azure web app. I need some help on this.

Thanks
JR

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,280 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 29,656 Reputation points Microsoft Employee
    2022-07-12T22:54:03.063+00:00

    Hi @JR ,

    If all you're seeing is a web.config on what I'm assuming is a Windows hosted app service, I'm thinking the issue is centered around a misconfigured yaml file. Have a look at Deploy an Azure Web App documentation. I'm guessing your Azure Web App task is deploying a package that doesn't contain your project assemblies which you can confirm by inspecting the artifacts in your pipeline. Inspect your pipeline logs for any build anomalies.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.