Unable to start process dotnet.exe

前端 未结 29 1937
广开言路
广开言路 2020-12-05 22:14

I am attempting to setup a new work space and transfer all of my projects from my old computer to the new one. However, I am getting this error when I try to run IIS Expres

相关标签:
29条回答
  • 2020-12-05 22:49

    I had to do a repair installation of .net core 2.2 sdk to fix this issue. Using VS 2017.

    0 讨论(0)
  • 2020-12-05 22:51

    The solution in my case was deleted web.config from the root of the project. I was working on an ASPnetcore project and after a week the error started. I am unsure how that web.config file got added but once I delete that their error got resolved.

    0 讨论(0)
  • 2020-12-05 22:51

    I have this issue right after updating Microsoft Visual Studio 2017 pro, so far I found 3 potential solutions :

    • Restart Visual Studio works, sometimes,

    • Delete %USERPROFILE%.nuget may solve the issue,

    • Uninstall, then reinstall dotnet SDK,

    0 讨论(0)
  • 2020-12-05 22:53

    Visual Studio 2017 -> The fix for me was to choose the Project Name instead of IISExpress when debugging/running.

    0 讨论(0)
  • 2020-12-05 22:53

    In your startup project be sure that you have selected the option Enable Anonymous Authentication

    0 讨论(0)
  • 2020-12-05 22:54

    in my case. i choose "ProjectName" instead of "IIS Express" while running/debugging. and it works/open with a console output window and selected browser, keep console output window open while debugging. Hope this will work.

    0 讨论(0)
提交回复
热议问题