Created a class with common functions and included it in a SharePoint solution. Deployed successfully. But when browsing a page on the site it gets the "could not load file or assembly..." error. The class dll isn't getting in the GAC. Got the solution from this stackoverflow thread:
Add an Assembly element for the missing dll into the manifest.xml by double-clicking on Package.package on Visual Studio, going to the "Advanced" tab, and adding the assembly.
No comments:
Post a Comment