Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,287 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have deploy .net core 2.2 web app in app service but i am getting below error.
2020-05-27T10:36:17.174404207Z
2020-05-27T10:36:17.174903316Z You can resolve the problem by installing the specified framework and/or SDK.
2020-05-27T10:36:17.175439427Z
2020-05-27T10:36:17.175975938Z The specified framework can be found at:
2020-05-27T10:36:17.176479747Z - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=2.2.0&arch=x64&rid=debian.10-x64
2020-05-27T10:42:46.652238711Z _____
2020-05-27T10:42:46.652273612Z / _ \ __________ _________ ____
2020-05-27T10:42:46.652283112Z / /_\ \___ / | \_ __ \_/ __ \
2020-05-27T10:42:46.652291313Z / | \/ /| | /| | \/\ ___/
2020-05-27T10:42:46.652298713Z \____|__ /_____ \____/ |__| \___ >
2020-05-27T10:42:46.652306413Z \/ \/ \/
2020-05-27T10:42:46.652313713Z A P P S E R V I C E O N L I N U X
2020-05-27T10:42:46.652320813Z
2020-05-27T10:42:46.652327513Z Documentation: http://aka.ms/webapp-linux
2020-05-27T10:42:46.652334514Z Dotnet quickstart: https://aka.ms/dotnet-qs
2020-05-27T10:42:46.652341514Z ASP .NETCore Version: 3.1.0
2020-05-27T10:42:46.652348514Z Note: Any data outside '/home' is not persisted
2020-05-27T10:42:46.746385075Z Running oryx -appPath /home/site/wwwroot -output /opt/startup/startup.sh -defaultAppFilePath /defaulthome/hostingstart/hostingstart.dll -bindPort 8080 -userStartupCommand ''
2020-05-27T10:42:46.755312499Z Oryx Version: 0.2.20200114.13, Commit: 204922f30f8e8d41f5241b8c218425ef89106d1d, ReleaseTagName: 20200114.13
2020-05-27T10:42:46.756877038Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2020-05-27T10:42:46.757516554Z Could not find operation ID in manifest. Generating an operation id...
2020-05-27T10:42:46.758135470Z Build Operation ID: 0b7b0ab9-535a-4c10-ae7e-694a782b7c1b
2020-05-27T10:42:48.294967748Z Writing output script to '/opt/startup/startup.sh'
2020-05-27T10:42:48.934345798Z Trying to find the startup DLL name...
2020-05-27T10:42:48.935339323Z Found the startup D name: tod.Admin.Web.dll
2020-05-27T10:42:48.935834335Z Running the command: dotnet "tod.Admin.Web.dll"
2020-05-27T10:42:48.948600756Z It was not possible to find any compatible framework version
2020-05-27T10:42:48.949335274Z The framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
2020-05-27T10:42:48.949839787Z - The following frameworks were found:
2020-05-27T10:42:48.950347799Z 3.1.0 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
2020-05-27T10:42:48.951151120Z
2020-05-27T10:42:48.951655632Z You can resolve the problem by installing the specified framework and/or SDK.
2020-05-27T10:42:48.952177145Z
2020-05-27T10:42:48.952669158Z The specified framework can be found at:
2020-05-27T10:42:48.953179371Z - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=2.2.0&arch=x64&rid=debian.10-x64
2020-05-27T10:51:29.028151893Z _____
2020-05-27T10:51:29.028203894Z / _ \ __________ _________ ____
2020-05-27T10:51:29.028214895Z / /_\ \___ / | \_ __ \_/ __ \
2020-05-27T10:51:29.028223195Z / | \/ /| | /| | \/\ ___/
2020-05-27T10:51:29.028231195Z \____|__ /_____ \____/ |__| \___ >
2020-05-27T10:51:29.028239295Z \/ \/ \/
2020-05-27T10:51:29.028246996Z A P P S E R V I C E O N L I N U X
2020-05-27T10:51:29.028254496Z
2020-05-27T10:51:29.028261596Z Documentation: http://aka.ms/webapp-linux
2020-05-27T10:51:29.028268996Z Dotnet quickstart: https://aka.ms/dotnet-qs
2020-05-27T10:51:29.028276396Z ASP .NETCore Version: 2.1.13
2020-05-27T10:51:29.028283596Z Note: Any data outside '/home' is not persisted
2020-05-27T10:51:29.577786063Z Running oryx -appPath /home/site/wwwroot -output /opt/startup/startup.sh -defaultAppFilePath /defaulthome/hostingstart/hostingstart.dll -bindPort 8080 -userStartupCommand ''
2020-05-27T10:51:29.590209476Z Oryx Version: 0.2.20200114.13, Commit: 204922f30f8e8d41f5241b8c218425ef89106d1d, ReleaseTagName: 20200114.13
2020-05-27T10:51:29.592254428Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2020-05-27T10:51:29.592883944Z Could not find operation ID in manifest. Generating an operation id...
2020-05-27T10:51:29.597143651Z Build Operation ID: 0adb8c21-5b33-4e8b-b8b1-c1509f5321f2
2020-05-27T10:51:32.325022266Z Writing output script to '/opt/startup/startup.sh'
2020-05-27T10:51:32.984279388Z Trying to find the startup DLL name...
2020-05-27T10:51:32.984966505Z Found the startup D name: tod.Admin.Web.dll
2020-05-27T10:51:32.985478318Z Running the command: dotnet "tod.Admin.Web.dll"
2020-05-27T10:51:33.032394701Z It was not possible to find any compatible framework version
2020-05-27T10:51:33.033241522Z The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
2020-05-27T10:51:33.033694234Z - Check application dependencies and target a framework version installed at:
2020-05-27T10:51:33.034128144Z /usr/share/dotnet/
2020-05-27T10:51:33.034564955Z - Installing .NET Core prerequisites might help resolve this problem:
2020-05-27T10:51:33.035001266Z https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
2020-05-27T10:51:33.035436877Z - The .NET Core framework and SDK can be installed from:
2020-05-27T10:51:33.036012192Z https://aka.ms/dotnet-download
2020-05-27T10:51:33.036590107Z - The following versions are installed:
2020-05-27T10:51:33.037134820Z 2.1.13 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
2020-05-27T10:54:13.402669040Z _____
2020-05-27T10:54:13.402708041Z / _ \ __________ _________ ____
2020-05-27T10:54:13.402717441Z / /_\ \___ / | \_ __ \_/ __ \
2020-05-27T10:54:13.402725341Z / | \/ /| | /| | \/\ ___/
2020-05-27T10:54:13.402732841Z \____|__ /_____ \____/ |__| \___ >
2020-05-27T10:54:13.402740141Z \/ \/ \/
2020-05-27T10:54:13.402747342Z A P P S E R V I C E O N L I N U X
2020-05-27T10:54:13.402754342Z
2020-05-27T10:54:13.402761042Z Documentation: http://aka.ms/webapp-linux
2020-05-27T10:54:13.402767842Z Dotnet quickstart: https://aka.ms/dotnet-qs
2020-05-27T10:54:13.402774742Z ASP .NETCore Version: 2.1.13
2020-05-27T10:54:13.402781542Z Note: Any data outside '/home' is not persisted
2020-05-27T10:54:13.542874918Z Running oryx -appPath /home/site/wwwroot -output /opt/startup/startup.sh -defaultAppFilePath /defaulthome/hostingstart/hostingstart.dll -bindPort 8080 -userStartupCommand ''
2020-05-27T10:54:13.558203987Z Oryx Version: 0.2.20200114.13, Commit: 204922f30f8e8d41f5241b8c218425ef89106d1d, ReleaseTagName: 20200114.13
2020-05-27T10:54:13.570661787Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2020-05-27T10:54:13.571812015Z Could not find operation ID in manifest. Generating an operation id...
2020-05-27T10:54:13.572370228Z Build Operation ID: 3a1965d8-609c-4282-bac6-5c3eec942b82
2020-05-27T10:54:14.344082722Z Writing output script to '/opt/startup/startup.sh'
2020-05-27T10:54:15.208265744Z Trying to find the startup DLL name...
2020-05-27T10:54:15.208749255Z Found the startup D name: tod.Admin.Web.dll
2020-05-27T10:54:15.209093764Z Running the command: dotnet "tod.Admin.Web.dll"
2020-05-27T10:54:15.225993871Z It was not possible to find any compatible framework version
2020-05-27T10:54:15.226898493Z The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
2020-05-27T10:54:15.227191100Z - Check application dependencies and target a framework version installed at:
2020-05-27T10:54:15.227500707Z /usr/share/dotnet/
2020-05-27T10:54:15.227807015Z - Installing .NET Core prerequisites might help resolve this problem:
2020-05-27T10:54:15.228168123Z https://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
2020-05-27T10:54:15.228468131Z - The .NET Core framework and SDK can be installed from:
2020-05-27T10:54:15.228946742Z https://aka.ms/dotnet-download
2020-05-27T10:54:15.229426854Z - The following versions are installed:
2020-05-27T10:54:15.229898265Z 2.1.13 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
I believe that this is due to the fact that .NET Core 2.2 is End of Life. The server appears to already have .NET Core 2.1.13 installed, but not 2.2.0. I would adjust your project to either go back to .NET Core 2.1, or up to .NET Core 3.1 to be on a supported version.
You can see the full lifecycle details here: https://dotnet.microsoft.com/download/visual-studio-sdks