asp.net mvc - Cannot resolve symbol 'ViewBag' -


i'm using vs2010 sp1, mvc3 , resharper 6.1.

in 1 of projects have following issue().

cannot resolve symbol 'viewbag'

i have in controllers.

enter image description here

in views works fine.

enter image description here

i have check similar issue , try suggested solution didn't work.

can please me this.

make sure controller derived

public class yourcontroller : controller


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -