0

I am opening a solution that I have to work on (first time from my computer with vs 2017) while ruining the solution it fails on "The program '[24588] iisexpress.exe: Program Trace' has exited with code 0 (0x0)." and on the browser "localhost refused to connect." also all the cshtml files looking like text files why?

Thank you!

Monika
  • 55
  • 11
  • **See Also**: [ASP.NET MVC5/IIS Express unable to debug - Code Not Running](https://stackoverflow.com/q/19472682/1366033) – KyleMit May 22 '20 at 20:32

2 Answers2

0

Have you tried deleting the .vs folder from your project?

bsod_
  • 903
  • 8
  • 27
0

Try to build the program by using ctrl + F5; or add Console.Readline(); , this command will hold the screen so the console will not disappear or exit with code 0.

Dharman
  • 30,962
  • 25
  • 85
  • 135