Runtime error of precompiled spark view

I’ve been working on overcoming my own ignorance in using precompiled views with Spark view engine. Making progress, but it’s not been straight forward. It’s not really a problem with Spark, which is why I’m still trying to make it work. It’s just that errors encountered during the post build step to precompile the views aren’t clear. It required using System.Diagnostics.Debugger.Launch() to figure out the problem. Which of course was something stupid I did; put a namespace in the assemblies config section for spark.

So figured that out, and it compiled. Yay! Then I ran it..

ViewError

It’s probably something else I forgot to do or whatever. Maybe I need to register routes so it knows which views to render. This is why I haven’t yet posted another Spark article. It’s suppose to cover lessons learned with precompiling view. So I should have plenty to cover.

 
November 13, 2009 23:57 by josh
E-mail | Permalink
blog comments powered by Disqus


about josh

another programmer blogging about his misadventures in writing code.

Contact

contact us for website & software consulting

Decide

decide on pragmatic solutions

Develop

develop your product together

Succeed

achieve your goals with our services