VS2017 in Windows 7 “An error occured attempting t

2019-05-16 16:04发布

问题:

Project properties -> Enable SSL : false (Off)

Selected "IIS Express" as debug option

"IIS 10.0 Express" already installed

Getting below error always

Can any one suggest a fix ?

Already tried below URLs, no hope still

An error occurred attempting to determine the process id of dotnet.exe which is hosting your application. One or more error occured

https://stackoverflow.com/a/43351447/2089963

Also tried uninstalling & installed IIS Express 10 back. Any help?

Environment : Windows 7(x64) Visual Studio 2017 (15.7.4) + .net Core 2.0

回答1:

Potential fix:

Maybe you can try delete the .vs folder.

Copied from @snys98 answer to this post: An error occurred attempting to determine the process id

Sorry if you already tried that.