I need to do a Bin deployment on our ISP, Network Solutions. They have NET Framework 3.5 SP1 installed on their servers, but NOT ASP.NET MVC.
I need to point my application to a directory called cgi-bin instead of bin. Network Solutions says that this is the only directory they have marked for execution as medium trust. I need to put the System.Web.Mvc DLL and the application DLL there, and I need my ASP.NET MVC application to find them in that directory.
It goes without saying that they won't put them in the GAC for me.
How do I tell my application to look in the cgi-bin directory instead of the bin directory for the DLL's?
Solution is posted below.