Added exception handling mono setting profileroot
Merge pull request #679 from jchannon/trycatchprofileoptimization

Added exception handling mono setting profileroot