New answers tagged assembly-references
This is because it is not deployed by your solution, only referenced! In Visual Studio, double click the Package file and choose the "Advanced" tab. Then on that tab add a reference to the file from where nuget downloads it in your project folder. This way it will be deployed to GAC on installation of your wsp
I found a solution in two steps. The first step is follow the Akshay suggestion ad after I added the assembly reference in the web.config. Something like <add assembly="BLL, Version=22.214.171.124, Culture=neutral, PublicTokenKey=123456" /> You can obtain the PublicTokenKey using the Visual Studio Developer Command Prompt and the command sn -T ...
When you build your class project it will generate a dll in bin folder. You need to get the dll and add it to package in your Sharepoint project then deploy or build
Top 50 recent answers are included