Visual Studio

Hello w guys how do we compile mq4/mq5  on visual studio

second question  is       while  dealing with old EA s  you will find errorrs and warnings   do we have any lib in existence that we can work  with in updating with  the current changes  of meta editor 
some 2011 to  2015 EA  all are incompatible with the current   build