简体   繁体   English

发布不会更新部分[C#/ MVC / ASP.Net]

[英]Publishing doesn't update the partial [ C#/MVC/ASP.Net ]

Visual Studio seems to no longer want to publish changes for files to our local IIS server, this only happens for partial files, but then again only for some. Visual Studio似乎不再希望将对文件的更改发布到我们的本地IIS服务器,这仅适用于部分文件,但是仅适用于某些文件。

  • I've tried running iisreset in cmd as administrator 我尝试以管理员身份在cmd中运行iisreset
  • I've tried cleaning the solution, and publishing 我已经尝试清理解决方案并发布
  • I've tried deleting the bin and obj folders 我尝试删除binobj文件夹
  • I've tried recycling the pool and restarting the site in iis 我尝试回收池并在iis中重新启动站点
  • I've tried hard refreshing and flushing the cache on chrome 我尝试过尝试刷新和刷新Chrome上的缓存

I'm at an end for what to do, is there anything that i might have missed? 我该怎么办了,有什么想念的吗?

Thanks 谢谢

A mixture of nuking web deploy and deleting everything seems to have resolved the issue. 禁止Web部署和删除所有内容的混合似乎已解决了该问题。 It seems doing this has somehow allowed a "failed to find partial in directory" IIS error page to appear that wasn't there earlier. 似乎这样做已使“无法在目录中找到部分内容” IIS错误页面出现,而该错误页面之前并没有出现。

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

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