I have written a class library and I'm using this DLL (MyLibrary.dll) in my ASP.NET website. Locally on my machine, this works fine. However, when I publish my website to an FTP location using the functionality from Visual Studio, the website is not loading properly. I'm getting the error "Could not load type 'MyNamespace.MyClass' from assembly 'MyWebsite.dll". The problem is that, this error is in a way correct because MyNamespace.MyClass is found in the class library that is referenced from my ASP.NET website.
My question is, why is the website not referring to my DLL? What am I doing wrong here or what am I missing? So far, I made sure that, both MyWebsite.dll and MyLibrary.dll are both found in the \bin folder.