We tried with changing below project properties for project and it worked:
1. Set Configuaration properties -> C/C++ -> Code Generation -> Enable C++ Exceptions
Yes with SEH Exceptions (/EHa)
2.Set Configuaration properties -> C/C++ -> General ->Common language runtime support(/clr)
3.Set Configuaration properties -> Advanced ->Common language runtime support(/clr)