When I try to startup my project w/ IIS Express I get the error:
An error occurred attempting to determine the process id of dotnet.exe which is hosting your application.A task was canceled
433 Views Asked by amol gaikwad At
2
There are 2 best solutions below
0
On
I encountered this error when trying to launch a downloaded project in which the target framework version was different from the version installed in my environment. I opened the “.csproj” file in a text editor, corrected the version in the “TargetFramework” node and saved the modified file. In order to be sure to make the changes take effect, I closed and reopened the Visual Studio solution containing the project. Then the project started correctly.
VS 2017
Hope it helps