迷失网络

如果你误读成“迷失公园”或“迷失侏罗纪”,那你可能真的迷失网络了。
随笔 - 88, 评论 - 1932, 引用 - 106

导航

关于

lostinet@lostinet.com这个油箱不能用了。因为空间没了,lostinet.com指向为127.0.0.1 。。。

标签

每月存档

最新留言

广告

 

aspnet_compiler 是一个把整个网站进行编译的工具。

运行C:\WINNT\Microsoft.NET\Framework\v2.0.40607>aspnet_compiler -v /djlp1 -p H:\Websites\DljPortal c:\dljp1 之后,

在 c:\dljp1 生成了一个目录,里面有 bin 目录,有data目录,还有其他文件都复制了过去了。

bin目录下多了几个dll文件:__code7jyhe1in.dll __DljPortalltzbmqxr.dll __resources9y3reyon.dll default.aspx.cdcab7d2.compiled global.asax.compiled global.asax7xyenj3t.dll ...

而以前的 default.aspx 现在的内容变成:This is a marker file generated by the precompilation tool, and should not be deleted!

不过这个 c:\dljp1 是不会自动变成 http://localhost/dljp1 的。这还要自己去添加。

web.config 里的信息没有变。 不过这次 codeSubDirectories/ 这个设置没有提示错误了。。

最难得的是global.asax已经失踪了,这个文件将在bin目录下用global.asax.compiled来指定。内容是:

打印 | 张贴于 2004-07-01 17:26:00 | Tag:DotNet  AspNet  DotNet2学习

留言反馈

#回复: aspnet_compiler 编辑
Hi, apologies for the English use here.

I have built a site using Visual Web Developer Express and precompiled it with ASP_Compiler. After uploading the ASP_compiler output files to the production server I get the following message when I go to the site address:

This is a marker file generated by the precompilation tool, and should not be deleted!

Can someone please tell me how to fix this? I don't know very much at all and would appreciate "idiot" level info, ie step-by-step. Many thanks in anticipation.

NB I do not have IIS and don't have the op system CD since my computer is 2nd hand.



2007-06-29 05:04:00 | [匿名用户:ron]
#回复: aspnet_compiler 编辑
不过我有个新问题:

就是我希望precompile和动态编译同时使用。有解决方案不?

也就是说:在站点发布的时候,我执行了precompile设置,把所有的ASCX,ASPX都编译成了DLL,但在运行过程中,程序代码可能会动态的从数据库或者别的方式生成一个ASPX或ASCX,再由页面动态调用,请问可行吗?
2007-05-22 10:15:00 | [匿名用户:daview]
#回复: aspnet_compiler 编辑
# 回复: aspnet_compiler 2004-7-2 11:17 popcode
请问,怎么我编译后,访问web site,页面显示这样
This is a marker file generated by the precompilation tool, and should not be deleted!

出现这个问题的原因是:你没有把 PrecompiledApp.config 这个文件复制到站点中。
2007-05-22 10:13:00 | [匿名用户:daview]
#re: aspnet_compiler 编辑
就明这样“
鏉╂瑦妲告0鍕椽鐠囨垵浼愰崗椋庢晸閹存劗娈戦弽鍥唶閺傚洣娆㈤敍灞肩瑝鎼存棁顫﹂崚鐘绘珟!”

help me!!
2005-10-02 16:25:00 | [匿名用户:zfj]
#re: aspnet_compiler 编辑
为什么用aspnet_compiler编译后,在浏缆器下怎么是乱码!!!
2005-10-02 16:22:00 | [匿名用户:zfj]
#回复: aspnet_compiler 编辑
请问,怎么我编译后,访问web site,页面显示这样
This is a marker file generated by the precompilation tool, and should not be deleted!
2004-07-02 11:17:00 | [匿名用户:popcode]
#回复: aspnet_compiler 编辑
明白了 那只是一个检查工具
不过令人疑惑的是有个选项是设置build folder.何用?:(
2004-07-01 22:16:00 | [匿名用户:dayday]
#回复: aspnet_compiler 编辑
发现VWD菜单中有Build项
为什么不起作用呢?
2004-07-01 19:22:00 | [匿名用户:dayday]
#回复: aspnet_compiler 编辑
今天发现asp.net 2.0似乎对xml的处理有点问题,本来好好的程序装了2.0之后就出错了。不知道老大是否碰到
2004-07-01 18:17:00 | [匿名用户:bestcomy]
#回复: aspnet_compiler 编辑
-v virtualPath

??这个是什么东西?难道用了这个之后,这些Web App只能放在同名的虚拟目录下面??

2004-07-01 18:05:00 | [匿名用户:TommyWOo]
对不起,目前本随笔不允许发表新评论.

Powered by: Joycode.MVC引擎 0.5.1.8