visual studio does not copy assembly into gac

和自甴很熟 提交于 2020-01-24 16:05:06

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/8422724/visual-studio-does-not-copy-assembly-into-gac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!