How do you add htmlHelpers into the Spark virew
问题 I want to use the htmlHelpers in my spark view but I keep getting the following errors. error CS0234: The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?) I have added the System.Web.Mvc assembly into the project. I have also added the following code into the module (just for the sake of getting it working - I'll probably need to add this code to the bootstrapper --- not sure how to do that yet!) var settings = new