user1189352
user1189352

Reputation: 3875

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:

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

Upvotes: 1

Views: 1134

Answers (1)

vandsh
vandsh

Reputation: 1532

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.

Upvotes: 2

Related Questions