Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Add global.json to force Kudu use SDK 2.1.515 (#8)
Browse files Browse the repository at this point in the history
After .NET Core SDK 3.1.301 was rolled out in Azure App Service, Kudu failed to build the app with the following exception:
System.ComponentModel.Win32Exception (5): Access is denied.

In order to fix the build issue, we add a global.json in the code base. So that Kudu is forced to use the previous SDK version, which can build the app without issue.

See https://stackoverflow.com/questions/62595408/error-access-is-denied-deployment-to-azure-app-services
  • Loading branch information
abbodh authored Jul 13, 2020
1 parent f3c5296 commit 40ba957
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"version": "2.1.515"
}
}

0 comments on commit 40ba957

Please sign in to comment.