简体   繁体   中英

VS2015/ASP not updating iis express files

I have an issue which I believe is IIS Express related. I am making a Web App with ASP Web Forms(I know I should be using MVC, but for this project, Web Forms was specified as required). Whenever I build it opens the url http://localhost:53605 and loads the website. The problem is the copy is showing is old, this started happening yesterday, I haven't installed any updates to VS or Windows.

  1. Things I have tried:
  2. Disabling Chome Cache
  3. Using another browser
  4. Change the IIS Express build url (This works, for ONE build and then it's back to the same issue)
  5. Delete the /bin & /debug folders

Does anyone have a solution to this? I can just change the build URL everytime, but anyone who had made an ASP Web App will you rebuild 100's of times a day...

Thanks

If IE setting is OK, then set vs setting

Go to Tools-Options

Under Projects and solution ->
    Build and Run select "Always build" under "On Run, when projects are out of date"

For Chrome VS debug, refer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM