问题
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