Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm writing a feature to my sandboxed web part with an event receiver that would parse a html website and add the results to a sharepoint list.

The thing is I'll need to use the HTML Agility Pack and I'm not quite sure how to add it - I've located the package options, clicked "advanced" and added the assembly .dll file manually from my HDD with the deployment target set to Web Application. Now the problem is how do I reference it in my code? Also, if the same assembly is going to be used in more features in the same solutions, shouldnt I use a different approach of adding it?

Thanks

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

OK, the solution was to deploy the assembly to GAC instead of Web Application.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.