How to import dll from bin folder without adding reference in asp.net

iqueen

New Member
As in my project i used some dll by referencing in my project bin folder which only works when i paste my dll in my "C:windows/system32/mydll.dll" but when i paste my dll in bin folder and then runs my website on server it will show me error...."file not found" .and i also used this method [DllImport("~/bin/mydll.dll")] to import it....but it still showing me the same error "file not found"And if i used add reference method then it shows me "Invalid COM component" error.....please do suggest some simple and useful solution...
 
Back
Top