Avatar of Adam Collins
Adam Collins

asked on 

Debug ASP.Net Core IIS Express showing wrong path

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

Chat / IMASP.NET.NET MVC.NET ProgrammingTroubleshooting

Avatar of undefined
Last Comment
Adam Collins

8/22/2022 - Mon