I have a Sharepoint 2010 solution with project containing a custom content type, list definition and list instance in. In this solution is an event receiver project and a standard class library project "IconExtractor" that contains code to be shared with the event receiver and a web part project (yet to be added).
The problem is that when the code in the IconExtractor dll project is executed by the event reciever the following error is recorded in the ULS log:
Error loading and running event receiver HLSAppEventReceiver.EventReceiver1.EventReceiver1 in HLSAppEventReceiver, Version=188.8.131.52, Culture=neutral, PublicKeyToken=a1f5b6162220ad3f. Additional information is below. : Could not load file or assembly 'IconExtractor, Version=184.108.40.206, Culture=neutral, PublicKeyToken=678bf53af6dec8bb' or one of its dependencies. The system cannot find the file specified.
Why can my dll not be loaded by sharepoint. It has a strong name but has not been deployed in the gac or anything like that. How do I create a Sharepoint friendly dll???