troubleshooting Question

Debug ASP.Net Core IIS Express showing wrong path

Avatar of Adam Collins
Adam Collins asked on
.NET ProgrammingASP.NETChat / IM.NET MVCTroubleshooting
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

When I browse the path
C:\Users\Adam\Documents\Source\Repos\OPSS\src\SurveyPortal\bin\Debug\netcoreapp3.1\SurveyPortal.dll
I find the dll one level deeper at
C:\Users\Adam\Documents\Source\Repos\OPSS\src\SurveyPortal\bin\Debug\netcoreapp3.1\bin\SurveyPortal.dll
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 18 Comments.
Join the Community
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