A folder binis just binary output from an assembly, so when you clean up your solution, all the assemblies in the folder binare deleted. You must reference assemblies from another location. One suggestion is to create a folder in your project Shared Resources, copy the assemblies into this folder, and then link them to this folder. This way they will not be removed from binin clean / rebuild, and Visual Studio will copy them there as needed.
- Right-click on the folder
Referencesin your project and selectAdd Reference... - Use the browse function to find the assemblies you want to reference (do not worry about manually copying them to / from a folder
bin). - After adding the link, right-click the link in the list of links and select
Properties - ,
Copy Local True
, bin .