When I tried to create a unit test and expand my website to find the classes and namespaces.. I started to get "“Value does not fall within the expected range.” popup message. Well found the solution below, those they are doing it for a different reason it works nevertheless.
Found the solution here:
"...open the Configuration Manager from the Build menu, and for each of your website projects listed there, change its Platform to “Any CPU”. Be sure to make these changes for each configuration type defined for your solution (e.g. Debug, Release). "