Razor in asp net site

Aug 28, 2011 at 12:19 AM

as I use a razor in asp net site?
just gives me this error

Method not found'System.Web.Razor.GeneratorResultsSystem.Web.Razor.RazorTemplateEngine.GenerateCode(System.IO.TextReader)'.
The invoked member is not supported in the dynamic assembly.

could someone send me an example?