在MVC 3项目中使用razor助手时出错(确实将cshtml文件放在app_code中).
看起来生成的代码使用了错误的程序集引用.
看起来生成的代码使用了错误的程序集引用.
使用WebMatrix.Data;
使用WebMatrix.WebData;
编译说:
CS0246:找不到类型或命名空间名称“WebMatrix”(您是否缺少using指令或程序集引用?)
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。