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

The Solution to Could not load file or assembly '' or one of its dependencies is


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.

~ Answered on 2011-12-08 16:26:54


Most Viewed Questions: