| 日 | 一 | 二 | 三 | 四 | 五 | 六 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 |
ASP.NET Compiler bug - Circular Reference
The solution is simply (although not obviously) to add the batch="false" attribute to the compilation element in the web.config file:
<configuration ...>
<system.web>
<compilation … batch="false"/>
…
<system.web>
<compilation … batch="false"/>
…
This generates a lot fewer assemblies and avoids the problem.
Update: According to Mike Harder (a Software Design Engineer on the ASP.NET team) in his recent post on the ASP.Net forums, this is a known bug in the ASP.Net compiler involving directory level circular references. An alternative fix to the batch="false" option is to reorganise the files in the web application to avoid a circular reference.
login to post comments

Recent comments