Visual Studio不会将程序集复制到GAC中 [英] visual studio does not copy assembly into gac
问题描述
我有一个课程库和一个共享项目.我在sharepoint项目中添加了对类库的引用,当我单击部署"时,在gac中看不到类库程序集.我认为这是不正常的.请问让我知道如何在不依靠手动部署的情况下解决此问题?谢谢.
I have a class library and a sharepoint project. I have added a reference to the class library in the sharepoint project and when I click deploy I don't see the class library assembly in the gac. I think this is not normal. can any please let me know how can I solve this issue without resorting to manual deployment? thank you.
推荐答案
您必须在程序包编辑器中打开程序包,转到高级",然后在其中添加类库的DLL.仅将程序集引用添加到Sharepoint项目中并不会自动发生.
You have to open the package in the package editor, go to Advanced, and add the class library's DLL there. It doesn't happen automatically just from adding an assembly reference to the Sharepoint project.
这篇关于Visual Studio不会将程序集复制到GAC中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!