I have an ASP.NET website (not web application) and I publish it using the 'publish' option (to five Windows Servers (2003)).
My development PC contains version 11 of Oracle (DataAccess.dll) and the web servers use version 10. I cannot downgrade my development machine because it has Windows 7 and this is incompatible with version 10. I cannot upgrade the server to version 11 because whilst Windows Server 2003 is compatible it doesn't seem to work very well with Oracle 11. I have ensured that the server is patched up.
Therefore when publishing the website I have the following line in the web.config:
<add assembly="Oracle.DataAccess, Version=10.2.0.100, Culture=neutral, PublicKeyToken=89B483F429C47342"/>
Then once the web app is published, I manually change the web.config. Is there an automated way of doing this, perhaps using the build scripts? Would it help if I converted into a web application?