Deploying custom dll's in SharePoint 2010 -


i'm new sharepoint , trying head around this. have simple web part project. have custom data layer project uses microsoft enterprise library data access. in web part project, adding reference data layer project's assembly. specified in package of web part project want data layer's assembly deployed. can verify works using standard ado.net classes , not custom ms library. if deploy sharepoint server (which have 100% access to) using enterprise library, error message:

"could not load file or assembly 'microsoft.practices.enterpriselibrary.data"

what steps need take ensure project , future projects on server can gain access enterprise library data access?

thanks!

you did correct until point: deployment.

when deploying external dlls, shall put gac or somewhere else, need package them wsp aswell. has become easy visual studio 2010:

  1. open package
  2. click on "advanced" (on bottom)
  3. add external dll , maybe safecontrols web.config

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -