asp.netmschart

How to change reference to local ( from GAC to bin )


I've got MS Chart control and with a references to GAC. I found them ( C:\Program Files\Microsoft Chart Controls\Assemblies )

but how to change GAC to local copy (bin) for comparability with other servers without installed MS Chart control for VS .

I've tried to add dll files manually but that was a fail. It's looking like I need to config Web.Config manually.

change it

<add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>

somehow to move it from GAC to bin , so How ?


Solution

  • In Solution Explorer in Visual Studio (or VWD, if you use the express version), find the DLL under References. Right-click it, and select Properties. Change Copy Local to True.

    If you have a Web Site Project instead of a Web Application Project, the references will be directly in the Bin folder.