Error CS0433 in large precompiled Asp.net Website Project

醉酒当歌 提交于 2019-12-05 05:33:43

I known you've tried that already, but avoiding the circular references is going to be your best bet here. Note that the term 'circular reference' is actually not quite correct. What the build system complains about is circular references at the directory level, not the file level.

e.g. sub1\page.aspx uses sub2\uc1.ascx uses sub1\uc2.ascx

At the file level, there is no circle, but at the directory level there is, and that messed up with the way batching works.

While it may seem like you have so many of these situations as to make it unfixable, I'd bet that if you look at the details of the 'directory circles', it's down to not all that many. Drawing the reference graph might help make sense of things.

Then you just need to move the offenders into a different folder and change the links accordingly.

Yes, it's a painful process, but it is likely solvable.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!