I get an error when using razor helpers in an MVC 3 project (put the cshtml file in app_code). It looks like the generated code is using the wrong assembly reference.
Using WebMatrix.Data
using WebMatrix.WebData;
The compiler says:
CS0246: Could not find the name of the type or namespace "WebMatrix" (are you missing the using directive or assembly references?)
Entering them in the GAC has not changed anything. Don't I understand? Or is this a mistake? Any ideas?
asp.net-mvc razor helpers
mbr
source share