-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Description
I have explicitly turned of deps.json generation in my aspnetcore (.Net 5) web project via the following setting :
<GenerateDependencyFile>false</GenerateDependencyFile>
So my publish does not generate deps.json.
I am able to run being up my web app successfully in my dev environment. However in my production server, I get the error "HTTP Error 500.30 - ASP.NET Core app failed to start". On checking event viewer logs, I see the error "Could not find file deps.json".
My understanding is that deps.json is not really required in production env. So why is it looking for deps.json in my production env?
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions