Could not load file or assembly '' or one of its dependencies

后端 未结 9 1516
遇见更好的自我
遇见更好的自我 2020-12-16 13:34

Any help please?

I have only one library and it is driving me crazy. this is the error that I receive. I am not using any other dependancies.

Could n         


        
9条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 13:51

    To make Visual Studio adding 3rd party assembly or even your own assembly from other project in solution to GAC please do next:

    1. Open Package.package from Package folder in SharePoint project.

    2. Click Advanced in bottom area.

    3. Click Add and chose which type of assembly you want to add.

    4. In dialog select dll file, chec GAC or BIN, add safe controls and class resources entries if required. Click Ok.

    Your assembly will be packaged to WSP, defined in manifest and deployed everytime.

提交回复
热议问题