简体   繁体   中英

Missing reference for Chart even with System.Web.Helpers

I'm going a little bit nuts over here.. I'm just trying to make a simple chart, but I can't find the reference.

Everyone says to add "System.Web.Helpers", i even added another System.Web.Helpers 2.0 as a reference and I can't get Chart to find the reference.. under System.Web.Helpers. i only see:

  • AntiForgery
  • AntiForgeryConfig
  • AntiXsrf Claims
  • IantiForgeryAddtioonalDataProvider
  • UnvalidatedRequestValues
  • Validation

thanks for any help. i'm using asp.net mvc 4

I assume you are in Visual Studio at the moment so when investigating my local Object Browser, I see my System.Web.Helpers is referencing a Nuget Package - (Microsoft.AspNet.WebPages.3.2.2) which does include the Chart class. The project I am currently in appears to be Target Framework of 4.5, but Chart still appeared to be present when switching to version 4.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM