I am using an extension "ASP.NET Core Logging Integration" in my app service. It was not updated to the latest version. Updating the extension to the current latest version that is v 6.0.2 fixed the issue. Thank you all.
The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found. .net 6.0 upgrade
I have upgraded my Web API from version netcoreapp3.1 to version net6.0. When I launch it from Visual studio as localhost, it will launch successfully.
I have published the app to the azure app service to which it was previously published. Publish is successful. When I launch the URL I get the below error
" HTTP Error 500.31 - ANCM Failed to Find Native Dependencies Common solutions to this issue: The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found. Specific error detected by ANCM: Error: An assembly specified in the application dependencies manifest (Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json) was not found: package: 'Microsoft.Extensions.Logging.AzureAppServices', version: '6.0.1' path: 'lib/net6.0/Microsoft.Extensions.Logging.AzureAppServices.dll' "
I checked dotnet --info command, .net 6 framework is installed.
Anyone has faced a similar issue? Could you please help me with this
2 answers
Sort by: Most helpful
-
Pramod Shivaprasad (RBEI/PAC-CSW1) 16 Reputation points
2022-03-02T03:35:00.397+00:00 -
Michael Taylor 54,401 Reputation points
2022-02-25T16:02:37.823+00:00 Did you update your app service configuration to use the new runtime? Refer to the steps here.