发布网站时未更新 DLL 文件 [英] DLL file not updated when publishing web site

查看:111
本文介绍了发布网站时未更新 DLL 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新了我的网站代码,然后运行发布.dll 文件已创建,但修改后的日期值仍然是几个月前的,当我将 dll 文件复制到服务器时,更改未应用.

I make updates in my web site code behind and then run Publish. The dll file is created but the modified date value remains a few months back, and the changes are not applied when I copy the dll file to the server.

更改非常小,例如更改 if 语句和更新变量的初始值.

The changes are very minor, like changing an if statement and updating an initial value of a variable.

解释是什么?

谢谢.

推荐答案

尝试删除临时的 asp.net 文件,然后重新发布应用程序.

Try deleting temporary asp.net files and then re-publish the application.

您可以在以下路径中找到临时 ASP.NET 文件c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

You can find temporary ASP.NET Files in below path c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

从此位置删除您的应用程序.如果无法删除文件,请重新启动 IIS 或停止工作进程 (w3wp.exe)

From this location just delete your application. If you cannot delete the files, restart the IIS or stop the worker process (w3wp.exe)

之后只需重新发布您的网站

After that just republish your site

这篇关于发布网站时未更新 DLL 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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