循环文件引用是不允许的。发布ASP.NET(2.0)网站 [英] Circular file references are not allowed. Publish ASP.NET (2.0) Website
问题描述
当我重新/构建我的ASP.NET网站,我没有收到任何错误。
然而,当我发布站点时,它给了我一个'循环文件引用是不允许的。错误。
When I re/build my ASP.NET website I do not receive any errors. However when I PUBLISH the site, it gives me a 'Circular file references are not allowed.' error.
我看了一些关于这个在网络上,并且它提供了一个批处理='假'选项,我想和什么也不做。
I read a little on the web about this, and it provided a batch='false' option, which I tried and does nothing.
页,有一个母版页,这可能会在两次同一控制调用;然而,这种控制并不是指回什么
The page, has a master page, which may call on the same control twice; however, this control does not refer back to anything
TY - 西奥
推荐答案
这一批= FALSE不会解决任何事情的发布网站precompiles这么批次属性无关的原因。
The reason that batch=false won't fix anything is publishing a website precompiles it so the batch attribute is irrelevant.
您可以通过使用aspnet_compiler命令获得有关错误的详细信息。我认为,这仅适用,如果你在IIS托管本地网站。
You can get more details on the error by using the aspnet_compiler command. I think this only works if you've hosted your website locally in IIS.
aspnet_compiler -v /
如果它的端口80上运行这个命令会precompile您的网站在本地,并且告诉你问题所在。
The above command would precompile your website locally if it's running on port 80 and show you where the problems are.
这篇关于循环文件引用是不允许的。发布ASP.NET(2.0)网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!