I am developing an single page web application that uses the Oracle.DataAccess dll. When I run the application locally I have to use the 32-bit version for IIS express. When I publish my application, IIS requires that I use the 64-bit version. 

I was wondering if there was a way to change which version was included in the references depending if I run it locally vs. publishing it without having to manually change the dll each time before building.

I am currently developing in Visual Studio 2013 Update 3.