Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start program "C:\Program Files\dotnet\dotnet.exe"

I've installed .NET Core 1.0.1 to use with VS 2015 Update 3 and I'm running as Administrator (on Windows 8.1 x64).

If I create any .NET Core project, be it console or web and attempt to run it Visual Studio then comes up with an error:

enter image description here

However I'm unable to ascertain why. VS builds it fine and I can run it from the CLI. I can also run Core fine through VSCode.

I've tried:

  • Deleting project.lock.json
  • Deleting the .vs folder
  • Repairing the .NET Core install
  • Repairing the VS 2015 install
  • Uninstalling and reinstalling .NET Core/SDK/Tooling & VS
  • Rebooting

And it still refuses to work!

I've raised this on the Core Tooling GitHub as well as can be seen here but as yet we're all a little stumped.

like image 725
Lloyd Avatar asked Oct 08 '16 23:10

Lloyd


1 Answers

There are some people who have problems with Internet Explorer and Visual Studio. Attempt to install Internet Explorer 9, or set a different default browser.

Other approaches:

  1. Was the data path checked?
  2. Perhaps there are wrong configured environment variables?
  3. Are you sure that the configuration was reset by the installation?
  4. Perhaps the path for the temporary data has been changed?
like image 200
Wiffzack Avatar answered Oct 10 '22 08:10

Wiffzack