首页 新闻 会员 周边

asp.net mvc 2.0 无法打开另一个安装了框架机器的建的mvc2.0项目

0
悬赏园豆:10

我在公司和家里都安装了asp.net mvc2.0 是从官方网站下的但是我公司建的项目在家里打开报错,在家里建的去公司打开也报错
错误主要是几个类没有引用到:
The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'HttpPostAttribute' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'HttpPost' could not be found (are you missing a using directive or an assembly reference?)
像UrlParameter AreaRegistration 都显示不在当前的context中编译都不能通过


我机器里有MVC1 应该不会影响吧,反正mvc2的几个类就报错,没有引用到,不晓得怎么回事在公司和家里本机上建都可以使用就是换到其他机器就不能用了

我确定框架都安装正确,因为在本机打开都没问题,打开其他机器的mvc2就有问题了

Jeremy Ding的主页 Jeremy Ding | 初学一级 | 园豆:0
提问于:2010-03-20 12:48
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册