如何将GAC更改为BIN [英] how to change GAC to BIN

查看:92
本文介绍了如何将GAC更改为BIN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个网站项目上工作,并添加一些参考。但是当把它放到服务器上时,它出现错误说无法加载文件或程序集。我检查了Proprety Pages,我注意到它在GAC中,而不是BIN。那我怎么能改变呢?

我在网上搜索我需要设置Copy Local = true的所有解决方案状态,但我找不到Copy Local选项的位置。我在您的项目中使用Visual Studio 2012.

I work on a website project, and add some reference to it. But when put it to the server, it came out error said 'Could not load file or assembly'. I check on Proprety Pages, and I notice it is in GAC, not BIN. So how can I change it?
I search on web and all the solution state I need to set Copy Local=true, but I cannot find where is the Copy Local option. I using Visual Studio 2012.

推荐答案

,请查看参考部分。找到资源并打开它的属性。它就在那里-Misc



我建议你不要复制本地,而是在你的服务器上安装资源。您可能会发现该资源需要许多相关资源,这些资源可能会非常混乱。



GAC中的大多数项目都安装了一些软件或框架。您通常可以通过Google查找来源。



当然,这不适用于所有内容,有时更容易复制本地。





希望有所帮助^ _ ^

Andy
in your project, look at the References section. Find the resource and open up it's properties. It's right there under -Misc

I would advice you don't copy local, but instead install the resource on your server. You may find that the resource requires many related resources which can get very messy.

Most items in the GAC are installed with some software or framework. You can usually google to find the source.

Of course, this doesn't apply to everything and sometimes it is just easier to copy local.


Hope that helps ^_^
Andy


这篇关于如何将GAC更改为BIN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆