Dear rtur,
The MCV3 razor issues have solved based on your suggestion, but the optimization.dll is still CALLED.
I figured out that when I build the Blogengine.Web and run it on Mono the reason why I get exception (http://blogengineweb.codeplex.com/workitem/2) is that the Optimization.dll is missing from the BE.WEB source!
If I copy the dll to the bin folder the blog site is working. But of course because the Optimization is not implemented is mono, I get the exception above when I click for example the Blogs on the administration widget. Here is the test blog's settings.xml:
<?xmlversion="1.0"encoding="utf-8"?><settings><displayratingsonrecentposts>True</displayratingsonrecentposts><authorname>My name</authorname><email>name@example.com</email><mobiletheme>JQ-Mobile</mobiletheme><postsperpage>10</postsperpage><htmlheader/><contactthankmessage><h1>Thank you</h1><p>The message was sent.</p></contactthankmessage><emailsubjectprefix>Weblog</emailsubjectprefix><trackingscript/><showdescriptioninpostlist>False</showdescriptioninpostlist><commentsperpage>10</commentsperpage><enablepingbacksend>True</enablepingbacksend><showdescriptioninpostlistforpostsbytagorcategory>False</showdescriptioninpostlistforpostsbytagorcategory><commentblacklistcount>2</commentblacklistcount><removeextensionsfromurls>True</removeextensionsfromurls><iscocommentenabled>False</iscocommentenabled><compresswebresource>False</compresswebresource><addiptowhitelistfilteronapproval>False</addiptowhitelistfilteronapproval><themecookiename>theme</themecookiename><trustauthenticatedusers>True</trustauthenticatedusers><enablecountryincomments>True</enablecountryincomments><contactformmessage><p>I'll answer the mail as soon as I can.</p></contactformmessage><searchbuttontext>Search</searchbuttontext><showincludecommentsoption>False</showincludecommentsoption><israzortheme>False</israzortheme><enablewebsiteincomments>False</enablewebsiteincomments><enablecontactattachments>True</enablecontactattachments><blogrollmaxlength>23</blogrollmaxlength><postsperfeed>10</postsperfeed><searchdefaulttext>Enter search term or APML url</searchdefaulttext><language>en-US</language><smtpserver>mail.example.com</smtpserver><disqusdevmode>False</disqusdevmode><showpostnavigation>True</showpostnavigation><displaycommentsonrecentposts>True</displaycommentsonrecentposts><enabletrackbackreceive>True</enabletrackbackreceive><enableopensearch>True</enableopensearch><dayscommentsareenabled>0</dayscommentsareenabled><useblognameinpagetitles>True</useblognameinpagetitles><enabletrackbacksend>True</enabletrackbacksend><smtpusername>username</smtpusername><enableerrorlogging>True</enableerrorlogging><enablehttpcompression>False</enablehttpcompression><enablepasswordreset>True</enablepasswordreset><disqusaddcommentstopages>False</disqusaddcommentstopages><alternatefeedurl/><enablecommentsmoderation>True</enablecommentsmoderation><feedauthor/><timezone>0</timezone><allowservertodownloadremotefiles>True</allowservertodownloadremotefiles><culture>Auto</culture><disquswebsitename/><handlewwwsubdomain/><theme>Standard</theme><sendmailoncomment>True</sendmailoncomment><description>Short description of the blog</description><blogrollvisibleposts>3</blogrollvisibleposts><geocodinglatitude>0</geocodinglatitude><numberofreferrerdays>1</numberofreferrerdays><thumbnailserviceapi/><iscommentsenabled>True</iscommentsenabled><syndicationformat>Rss</syndicationformat><smtpserverport>25</smtpserverport><blockauthoroncommentdelete>False</blockauthoroncommentdelete><iscommentnestingenabled>True</iscommentnestingenabled><timestamppostlinks>True</timestamppostlinks><enablereferrertracking>False</enablereferrertracking><avatar>wavatar</avatar><smtppassword>password</smtppassword><numberofrecentcomments>10</numberofrecentcomments><enablerecaptchaoncontactform>False</enablerecaptchaoncontactform><enableoptimization>False</enableoptimization><name>Name of the blog</name><moderationtype>Auto</moderationtype><enablepingbackreceive>True</enablepingbackreceive><showlivepreview>True</showlivepreview><enablequicknotes>True</enablequicknotes><galleryfeedurl>http://dnbegallery.org/feed/FeedService.svc</galleryfeedurl><remotemaxfilesize>524288</remotemaxfilesize><enablerelatedposts>True</enablerelatedposts><remotefiledownloadtimeout>30000</remotefiledownloadtimeout><enableenclosures>False</enableenclosures><endorsement>http://www.dotnetblogengine.net/syndication.axd</endorsement><removewhitespaceinstylesheets>True</removewhitespaceinstylesheets><commentwhitelistcount>1</commentwhitelistcount><descriptioncharacters>300</descriptioncharacters><addiptoblacklistfilteronrejection>False</addiptoblacklistfilteronrejection><enablessl>False</enablessl><descriptioncharactersforpostsbytagorcategory>0</descriptioncharactersforpostsbytagorcategory><commentreportmistakes>False</commentreportmistakes><searchcommentlabeltext>Include comments in search</searchcommentlabeltext><numberofrecentposts>10</numberofrecentposts><geocodinglongitude>0</geocodinglongitude><selfregistrationinitialrole>Select</selfregistrationinitialrole><enableselfregistration>False</enableselfregistration><blogrollupdateminutes>60</blogrollupdateminutes><securityvalidationkey>07a256ce58c34502b88a3685041f22ef0aaedeb5b81a42cbbe7a5cf5746206a3f8db69c6342a4bedbe19680eac87d970</securityvalidationkey><requiresslmetaweblogapi>False</requiresslmetaweblogapi><enablerating>True</enablerating><enablecommentsearch>True</enablecommentsearch></settings>
It seems that the optimization is disabled, but why is it still called?
Thank you for the answers,
KU