Could not load type ‘WebPages.Global’

Another in my ‘reminder’ series. I had a very strange error when running a web site; Could not load type ‘WebPages.Global’.

I realised that my problem is related to the way I prefer to create my projects. I like to have a single bin that my projects drop their DLLs in. I like to share that bin folder with my web sites. In this case I was using a new machine and had forgotten to create the file join to enable the sharing. I.e. as far as the web site was concerned there was nothing in the bin folder. A quick join later and we’re back in business.