troubleshooting Question

Debug ASP.Net Core IIS Express showing wrong path

Avatar of Adam Collins
Adam Collins asked on
Chat / IMASP.NET.NET MVC.NET ProgrammingTroubleshooting
18 Comments1 Solution194 ViewsLast Modified:
I am trying to debug some features I added to a .Net MVC web site and when I browse to the localhost I get the following 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:
The application to execute does not exist: 'C:\Users\Adam\Documents\Source\Repos\OPSS\src\SurveyPortal\bin\Debug\netcoreapp3.1\SurveyPortal.dll'
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=2028526

Open in new window


When I browse the path
C:\Users\Adam\Documents\Source\Repos\OPSS\src\SurveyPortal\bin\Debug\netcoreapp3.1\SurveyPortal.dll

Open in new window

I find the dll one level deeper at
C:\Users\Adam\Documents\Source\Repos\OPSS\src\SurveyPortal\bin\Debug\netcoreapp3.1\bin\SurveyPortal.dll

Open in new window

ASKER CERTIFIED SOLUTION
Adam Collins

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 18 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros