Make sure that the Azure App Service is configured to use this same version of the .NET runtime.
HTTP Error 500.38 - ANCM Application DLL Not Found
My application contains latest .net framework related nuget package.
i,e.7.0.8
App service not publish and giving error.
HTTP Error 500.38 - ANCM Application DLL Not Found
2 answers
Sort by: Most helpful
-
-
Saurabh Sharma 23,826 Reputation points Microsoft Employee
2023-07-10T20:56:00.43+00:00 Thanks for using Microsoft Q&A !!
You may be getting this error if app which you are trying to host is packaged as a Single-file executable using in-process hosting model. As per the troubleshooting documentation, please follow the below steps -
Use one of the following approaches in the app's project file to fix this error:
- Disable single-file publishing by setting the
PublishSingleFile
MSBuild property tofalse
. - Switch to the out-of-process hosting model by setting the
AspNetCoreHostingModel
MSBuild property toOutOfProcess
.
Please let me know if you face any problems while fixing this error with the above steps.
Thanks Saurabh
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.
- Disable single-file publishing by setting the