Introduction
Sometimes, because of deleting DLLs in your project, or for some other reason, you get the following error while running the project.
On clicking the notification on right bottom corner of Visual Studio, you may get this popup.
Background
I got this error when I deleted all the DLLs in my solution and tried to reopen and run the solution.
Solution
Well, this problem has a simple solution.
- Open your project file:
- Try to find the lines shown below (by finding "DevelopmentServerPort" in your project file).
When found, delete the below tags from your project file:
<DevelopmentServerPort>62140</DevelopmentServerPort>
<DevelopmentServerVPath></DevelopmentServerVPath>
<IISUrl>http:
After deleting the above tags:
- Save and close the file. If you had your project opened, you may be prompted to reload the project.
Click on Reload All button and run the project again.
Hopefully, the error is gone now. :)