view compilation not working

Topics: Administration, General
May 24 at 5:29 PM
Edited May 24 at 5:48 PM
strangely, i can't find any answers about view compilation in here (only questions).
maybe someone will answer :)

this is what I have done (latest dev build out-of-the-box):
  1. clicktobuild Precompiled - this works fine, no problem
  2. %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_compiler -p c:_src\orchard\build\Precompiled -v / -f c:\temp\precompile
this fails, with the following error:

c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\fd596974\9555b8ff\App_Web_4psv3d0u.0.cs(34): error CS0246: The type or namespace name 'Lucene' could not be found (are you missing a using directive or an assembly reference?)

what am i doing wrong? am I pointing the tool at the wrong folder?

this guy seemed to manage it, but i think? i'm doing the same steps.

(the reason i am doing this is not for speed, but because there has been the occasional view compilation problem, which has not shown up until well into the testing phase. setting MvcBuildViews true isn't an option because it creates too many issues and would diverge the codebase too much)
May 28 at 5:16 PM
Moved to issues - see answer here: