简体   繁体   English

VS2015 / ASP不更新IIS Express文件

[英]VS2015/ASP not updating iis express files

I have an issue which I believe is IIS Express related. 我有一个与IIS Express有关的问题。 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). 我正在使用ASP Web Forms制作Web App(我知道我应该使用MVC,但是对于该项目,已根据需要指定了Web Forms)。 Whenever I build it opens the url http://localhost:53605 and loads the website. 每当构建时,它都会打开URL http:// localhost:53605并加载网站。 The problem is the copy is showing is old, this started happening yesterday, I haven't installed any updates to VS or Windows. 问题是副本显示的很旧,这是昨天开始的,我还没有安装VS或Windows的任何更新。

  1. Things I have tried: 我尝试过的事情:
  2. Disabling Chome Cache 禁用Chome缓存
  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) 更改IIS Express构建URL(此操作适用于一个构建,然后又返回到同一问题)
  5. Delete the /bin & /debug folders 删除/ bin和/ debug文件夹

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... 我可以每次更改构建URL,但是制作过ASP Web App的任何人每天都会重建100次...

Thanks 谢谢

If IE setting is OK, then set vs setting 如果IE设置正常,则设置vs设置

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 有关Chrome VS调试的信息, 请参阅

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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