when I open a project in VS and Press F5 I get the error of "Process with an id of "xxxx" is not running" but if I keep Visual studio open and wait for about 30 minutes and then press F5 it works fine!
Does anyone knows why?
when I open a project in VS and Press F5 I get the error of "Process with an id of "xxxx" is not running" but if I keep Visual studio open and wait for about 30 minutes and then press F5 it works fine!
Does anyone knows why?
1.Run Visual Studio as an administrator
2.Open your project file(In Solution Explorer, right-click project=>unload project=>edit x.xxproj)
Delete script below:
<DevelopmentServerPort>63366</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:63366/</IISUrl>
Save the changes and reload the project. F5 to check if it helps.
Please check this similar issue.
Do the following steps :-
It works for me. Thanks!
we need a lot more information.
Are you trying to build a program with an IIS Instance? Did you delete any DLLs? Does it work on other machines?
Things to try:
Try a full clean and rebuild. That is, clean the solution, git new, rebuild all. Fix any errors and warnings, then launch with F5.
Run Visual Studio as an admin. Start > Visual Studio > right click > Run as Administrator.
In your csproj file, delete the following lines:
<DevelopmentServerPort>62140</DevelopmentServerPort>
<DevelopmentServerVPath></DevelopmentServerVPath>
<IISUrl>http://localhost:62116/</IISUrl>
Save, then reload.
Try following the solutions from this Stack Overflow:
Process with an ID #### is not running in visual studio professional 2013 update 3
Delete the IIS folder with:
rmdir /s /q "%userprofile%\Documents\IISExpress
Delete the .vs\Config folder in your Visual Studio instance.
Relaunch Visual Studio as Administrator, so they can be rebuilt.
You should now be up and running.
I tried all the solutions from here and from the Internet. Eventually I uninstalled IIS Express and reinstalled it, and it worked. (tried on VS 2015)
I've done th esame as Sunny_sid but I just renamed .vs with old_vs, just in case. Restart VS right after and project runs !