我正在使用部署项目部署我的ASP.net Web应用程序.
在构建部署项目时,将重新创建所有.compiled文件.
在构建部署项目时,将重新创建所有.compiled文件.
我需要FTP到生产Web服务器吗?
如果我做一个小的改变,我需要再次复制所有的网站?
解决方法
从我自己的研究中,.compiled文件必须复制到生产服务器,但不需要每次复制
从Rick Strahl优秀博客:
The output from the merge utilitity can combine all markup and CodeBeside code into a single assembly,but you will still end up with the .compiled files which are required for ASP.NET to associate the page requests with a specific class contained in the assembly. However,because the file names generated are fixed you don’t need to update these files unless you add or remove pages. In effect this means that in most situations you can simply update the single assembly to update your Web. 07001
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。