发布网站时未更新 DLL 文件

编程入门 行业动态 更新时间:2024-10-25 16:30:36
本文介绍了发布网站时未更新 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 文件,然后重新发布应用程序.

Try deleting temporary asp 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 文件

本文发布于:2023-11-07 17:46:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567042.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   网站   DLL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!