5 Mart 2014 Çarşamba

Asp.Net MVC: The name 'ViewBag' does not exist in the current context

Asp.Net MVC: The name 'ViewBag' does not exist in the current context
Asp.Net MVC 4 uygulaması local bilgisayarsa çalışırken sayfaları publish edip sunucuya gönderdiğimde 
The name 'ViewBag' does not exist in the current context hatası alıyorum.
Hatanın tamamı şu şekilde:

Server Error in '/' Application.
--------------------------------------------------------------------------------

 Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
Compiler Error Message: CS0103: The name 'ViewBag' does not exist in the current context
 Source Error:

Hiç yorum yok:

Yorum Gönder