Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dnx project start up error - dnx design time process. No connection could be made

When I open a (dnx46) project in my visual studio I (most of the times) get the following error:

The following error occurred attempting to run the DNX design time process (dnx-clr-win-x86.1.0.0-rc1-final)

No connection could be made because the target machine actively refused it [::ffff:127.0.0.1]:39084

The DNX design time process provides intellisense, build and reference information to Visual Studio and without it your experience will be very limited. Please tyr closing and reopening Visual Studio to see if that corrects the problem. Alternatively, check that the DNX version is properly installed or try changing to a different installed DNX version using the project property pages.

I started getting this error last week. I have the problem with all my dnx prjects, including the one's that haven't changed since then.

My dnx is RC1-final. I tried installing RC1-update1 but to no avail.

Restarting the visual studio sometimes helps but not very often.

The problems with not having this design time process are:

  • no 'web' profile to debug (or any other option to debug)
  • references are not visible in visual studio
  • Building takes a huge huge amount of time

Is there anyone that has any idea what is going on and what I can do to it?

like image 672
Pieter Avatar asked Dec 10 '15 09:12

Pieter


2 Answers

Well, executing dnvm update-self command before opening the project does the job for me as mentioned here.

http://www.talkingdotnet.com/how-to-fix-dnx-project-start-up-error-in-vs-2015/

like image 107
VirendraJ Avatar answered Sep 19 '22 12:09

VirendraJ


Repairing the ASP.NET 5 Release Candidate solved it for me, at least so far. I've been been running a day or so. Get the latest install here which also performs the repair: https://get.asp.net/

like image 35
Michael Silver Avatar answered Sep 19 '22 12:09

Michael Silver