.net core azure deployment failing: Project file does not exist

前端 未结 1 959
遥遥无期
遥遥无期 2021-02-13 04:53

I have an app-service app set up in Azure which is set to deploy upon commit into a team-services git repository. This has been working fine until now, and the deployment is fai

相关标签:
1条回答
  • 2021-02-13 05:37

    Apparently you need to specify the SDK version explicitly in your global.json otherwise Kudu is using the latest which is now the preview3 one which is not compatible.

    {
    "projects": [ "src", "test" ],
    "sdk": {
        "version": "1.0.0-preview2-1-003177"
        }
    }
    

    Be careful, you global.json file should live at the root of your repository.

    Details: https://social.msdn.microsoft.com/Forums/en-US/2a301f82-6a7a-4c03-ad4a-bd8714d72ba6/continious-deployment-of-aspnet-core-app-suddenly-starts-to-fail-today?forum=windowsazurewebsitespreview&prof=required

    0 讨论(0)
提交回复
热议问题