I have developed a web application project in asp.net 3.5 frame work(VS 2012). It's working fine in server side. Now I would like to upgrade its version to 4.5 to use the latest updates. How can I upgrade it? My friend told that, if I change the version I will lose my web.config file. 

How can I upgrade the version without any side effects?