Reputation: 5808
I develop ASP.NET Core 2.0
application which works on full framework <TargetFramework>net461</TargetFramework>
. Ususally to debug it I use IIS Express
: just click green arrow in Visual Studio 2017
. It worked OK. But today it stopped working properly. Application runs but all requests hang. No exceptions are thrown. In Windows Logs/Application
I see this:
Application 'MACHINE/WEBROOT/APPHOST/MY.APP.HERE' with physical root 'C:\code\MY.APP.HERE\' failed to start process with commandline 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Microsoft\Web Tools\ProjectSystem\VSIISExeLauncher.exe -argFile "C:\Users\Username\AppData\Local\Temp\tmp35D5.tmp"', ErrorCode = '0x80004005 : 0.
Source of the message is IIS Express AspNetCore Module.
Any ideas what's the reason and how to fix it?
UPDATE: I see A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\code\PATH.TO.APP.HERE\bin\Debug\net461\win7-x64\publish\'.
whily running dotnet MyApp.exe
.
Upvotes: 0
Views: 1470
Reputation: 539
iisreset - try it one time - As it was working before , hope it works !
Upvotes: -1