accessing websites using embedded mono

I have embedded mono into my app (evolution-mono-providers) where I was trying to authenticate to google calendar. Though I had the certificates imported using mozroots, access to website failed.  But then I was able to authenticate through a standalone mono program.

After some debugging with ankit, posted the query on the mono-devel mailing list. Robert’s quick response helped me solve the issue 🙂 Calling mono_jit_exec with the assembly compiled as an executable fixes the issue. So one has to call mono_jit_exec for certain defaults to be set correctly in the embedded environment.

Here is the mail thread|a22666273 .

Thanks a lot, ankit and Robert!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s