Note that there are some explanatory texts on larger screens.

plurals
  1. POSpark View Engine Missing Libraries visual studio 2010
    primarykey
    data
    text
    <p>I am using the Spark View engine with asp.net mvc3, gotta say I love spark bindings are awesome!</p> <p>Everything works fine however development is extremely painful at the moment because any time I change any of my code I get Runtime Binder errors such as</p> <pre><code>The type or namespace name 'RuntimeBinder' does not exist in the namespace 'Microsoft.CSharp' </code></pre> <p>I am forced to clean and rebuild my solution and restart it and it works fine after that. Well at least until I make another code change and am then forced to do it again. Stopping IIS instance and starting project does not work I have to do full rebuild first.</p> <p>I am running in Debug.</p> <p>I have Rebooted,Checked Referenced DLL's, Cleared all files out off Tmp,Checked my web.config and spark file. I have added the following code in my global.asx file as explained here. <a href="https://stackoverflow.com/questions/3892891/spark-views-work-initially-but-then-get-a-dynamic-view-compilation-failed-erro">Spark views work initially, but then get a &quot;Dynamic view compilation failed&quot; error after 30 minutes or so</a></p> <pre><code> private void PreLoadAssemblies() { // Deal with the compiling issue with Spark. var initialAssemblies = AppDomain.CurrentDomain.GetAssemblies(); var di = new DirectoryInfo(Server.MapPath("~/bin")); var files = di.GetFiles("*.dll"); foreach (var fi in files) { var found = false; //already loaded? foreach (var asm in initialAssemblies) { var a = Assembly.ReflectionOnlyLoadFrom(fi.FullName); if (asm.FullName == a.FullName) found = true; } if (!found) Assembly.LoadFrom(fi.FullName); } } </code></pre> <p>I guess this is not a crucial bug/problem and may not be worthy of stackoverflow users time as I can work around it but its bugging me more and more each day, and maybe someone has fix.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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