http://groups.google.com/group/spark-dev/browse_thread/thread/aa1f41b3f9973057
Getting precompilation to work is quite a bit of work, as you probably
have discovered. I've done the same changes to Spark as you have, which I
hope could be implemented in the core, so everyone that wanted to
precompile Spark views with .NET 4.0 wouldn't have to do it themselves. :)
I haven't gotten the error you're having, though, so I'm wondering if it
might be due to an error in one of the views, as the problem I ran into.
It might be something completely different, but it's worth looking into.
Do all the views render successfully when not precompiled?
The error says that the "SparkViews.dll" is locked. May it be locked by
another precompilation task trying to compile another set of views to the
same DLL file? How have you wired up this precompilation installer? As a
post-build process? How have you set up your installer file? Could you
provide us with some of the code?
As a sidenote, I would appreciate a much better precompilation process
than having to run an installer from the command line, as it's very
limiting in terms of dealing with error messages. Not being able to double
click in the error list to go to the line causing the problem is a great
source of frustration.
Being able to precompile Spark views into a DLL should be with less magic
and trouble, but I have too little knowledge in this area to device the
perfect solution. I do hope that someone with enough Spark Mojo can pull
out some magic dust and sprinkle it over this area of Spark, though, as I
think it's in dire need of some hardcore expert attention.
-Asbjørn
On Thu, 09 Sep 2010 20:11:53 +0200, Kyle Beyer <kyle....@gmail.com>
wrote: