Dove trovo la DLL di riferimento per System.Web.ui.Datavisualization.Charting?
-
10-12-2019 - |
Domanda
Stiamo aggiornando una soluzione VS da SP2010 a SP2013.Stiamo utilizzando il sistema operativo VS2010 e Windows Server 2012.
Puoi dirmi dov'è la DLL per System.Web.ui.Datavisualization.Charting;Situato? L'errore che ottengo è: -
.Errore 7592 Il tipo o il nome del nome del nome "datavisualizzazione" non lo fa esistono nel namespace 'system.web.ui' (ti manca un assemblaggio Riferimento?) C: \ dev \ progetto \ mypartscontrol.ascx.cs
Stavo navigando per chiedere aiuto e ho ricevuto questo link che menziona per cercare sotto: c: \ Programmi (X86) \ Microsoft Chart Controls \ Assembly.Non ci sono file C: \ Programmi (X86) \ Microsoft Chart Controls Directory nel mio computer.
Soluzione
It is present here
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5
When adding dll references click on Framework and scroll down, you should be able to see this:
Altri suggerimenti
Do you reference it in your web.config
•under the controls tag (path: "< system.web>") :
< add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
•under "< httphandlers>") :
< add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>