locked
Missing references in Views for ViewBag and some Html helpers RRS feed

  • Question

  • User1409124252 posted

    Not sure if this is the right forum.  I use Visual Studio Express 2013 for Web.  After installing Visual C# Express 2010, I started experiencing missing references in all my View cshtml files for ViewBag and most Html helpers (@Html.DropDownList is OK). ???

    Before I try fixing by uninstalling Visual C# 2010, I thought I would see if anyone has seen this.  I am getting successful builds with no errors.  I do have a warning "Warning 1 Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. Orientation ",  but I had it before this new problem, and the app still builds fine.

    Friday, November 22, 2013 10:06 AM

Answers

  • User1409124252 posted

    Never mind - I solved both issues by installing the latest version of WebGrease.  I don't know why that affected the ViewBag & helpers, but all are OK now...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 22, 2013 10:40 AM

All replies

  • User1409124252 posted

    Never mind - I solved both issues by installing the latest version of WebGrease.  I don't know why that affected the ViewBag & helpers, but all are OK now...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 22, 2013 10:40 AM
  • User-1426144113 posted

    Hi,

    Maybe it blocks something.

    Thanks

    Sunday, November 24, 2013 8:09 PM