Problem with IntelliSense using MVC5


  • Help!!

    My IntelliSense seems to be working fine in my Controllers, but declared variables are not recognizing later when used in a class.

    Any suggestions?


    Stephen S. Baca

    Wednesday, October 5, 2016 5:17 PM


  • Hi Stephen S Baca,

    Thanks for your posting. In my side, I have created a new controller in MVC and IntelliSense could display the variable. Please refer to the following screenshot:

    IntelliSense could display any accessible object, please make sure the variable could be accessed in a class. You had better share me a sample that help me repro this issue.

    If I misunderstand this issue, please feel free to let me know.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Thursday, October 6, 2016 5:37 AM