Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>My best guess (and it is a guess) is that touching the file is a red herring. I think it more likely that <em>any</em> recompilation will clear this up. For example, you could touch the web.config to force a recycle to prove or disprove my assumption when this happens. </p> <p>The reason I suspect this is that the error you are receiving relates to a serialization problem. The XML Serializer is confused into thinking it cannot serialize one of your types. Because you've ruled out a lot of the common suspects such as object arrays or inclusion of other types that are inherently not serializable, I suspect a compliation race condition such as a circular reference between two of your assemblies is to blame. This particular case would be cleared up by a second compilation. </p> <p>Note: A good tool to detect circular references is <a href="http://www.ndepend.com/" rel="nofollow noreferrer">NDepend</a>.</p> <p>If it is not a circular reference, are you doing any code gen, using any build providers or using reflection to load any assemblies in your app or anything else that might be even slightly exotic?</p> <p>Edit:</p> <p>Based on your comment, you are not doing anything exotic. So, please check for <strong>circular references</strong> and (just thought of this) <strong>conflicting dependencies</strong> between your assemblies. For example, <a href="http://github.com/subsonic/SubSonic-3.0/tree/master/lib/" rel="nofollow noreferrer">SubSonic references a number of assemblies</a>, and if you reference one of these assemblies of a different version, it could explain how it works once and fails another time with the same code.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload