我有MS Chart控件和GAC参考。 我找到了它们(C:\ Program Files \ Microsoft Chart Controls \ Assemblies)
但是如何将GAC更改为本地副本(bin)以便与未安装VS的MS Chart控件的其他服务器进行比较。
我试图手动添加dll文件,但这是一个失败。 看起来我需要手动配置Web.Config。
更改
<add assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>不知何故将它从GAC转移到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 ?
最满意答案
在Visual Studio中的解决方案资源管理器(或VWD,如果使用快速版本)中,在“引用”下找到DLL。 右键单击它,然后选择“属性”。 将本地复制更改为True 。
如果您有Web站点项目而不是Web应用程序项目,则引用将直接位于Bin文件夹中。
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.
更多推荐
发布评论