IIS缓存项目引用的二进制文件 [英] IIS caching project reference binaries

查看:289
本文介绍了IIS缓存项目引用的二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚调试那些Asp.Net似乎缓存由网站引用的项目DLL的,那些被重建后,即使问题

I just had to debug an issue where Asp.Net seemed to be caching the dll's of projects referenced by the website, even after those were rebuilt

解决方案编译,但在运行时Asp.Net引用C中的过时二进制:\\ WINDOWS \\ Microsoft.NET \\框架\\ v4.0.30319 \\临时ASP.NET文件\\根,并抛出一个异常。 (我不认为特定的异常是相关的,它只是一个事实,即底层code是老了,在我的情况与LLBLGEN一个问题,即实体指标出现了混乱)

The solution compiles, but at runtime Asp.Net references an out of date binary in C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root, and throws an exception. (I don't think the specific exception is relevant, its simply the fact that the underlying code is old, in my case its an issue with LLBLGEN where entity indexes are out of whack)

这是一个新的问题,但似乎是跨越发展的工作站一贯发生,我们的集成服务器,所以我认为它必须是一些配置,我们有。

This is a new issue, but seems to be happening consistently across development workstations, and our integration server, so I think it must be some configuration we have.

我们正在开发针对Asp.Net 4,在IIS 7.5

We are developing against Asp.Net 4, on IIS 7.5

更新

我们在web.config中使用的System.Web /编译元素的optimizeCompilations标志。我看不出这可能会影响它,但将翻转,看看是否有什么变化。

We are using the optimizeCompilations flag on system.web/compilation element in web.config. I can't see how this might affect it, but will flip this and see if anything changes.

推荐答案

正如我提到的更新,这似乎涉及到optimizeCompilations标志

As mentioned in my update, this appears to be related to the optimizeCompilations flag

<一个href=\"http://blogs.msdn.com/b/davidebb/archive/2009/04/15/a-new-flag-to-optimize-asp-net-compilation-behavior.aspx\" rel=\"nofollow\">http://blogs.msdn.com/b/davidebb/archive/2009/04/15/a-new-flag-to-optimize-asp-net-compilation-behavior.aspx

这篇关于IIS缓存项目引用的二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆