raugun4net Xamarin/Mono Mac NotImplementedException
mattdwen
Posted on
Oct 20 2013
When using raygun4net in a Mono Mac project, calling Send(Exception)
throws a NotImplementedException when calling Microsoft.VisualBasic.Devices.ComputerInfo.get_TotalPhysicalMemory()
.
While this is a short coming in Mono, is there a way Raygun can be used in a Mono Mac project?
John-Daniel Trask
Raygun
Posted on
Oct 22 2013
Hi Matt,
Sorry about the slow follow up. We've encountered this and at present I'm thinking the best route (although a bit of a code smell) would be to simply wrap fetching environment information and swallow any error when trying to obtain it. This would be better than having different builds for mono & .net and would mean that for the developer they get a graceful degradation of the provider for information it can't obtain.
What do you think about that approach? Always good to get others thoughts in case we're missing a better option :-)
John-Daniel Trask
Co-founder
Mindscape Limited
mattdwen
Posted on
Oct 23 2013
That's reasonable to me currently. I've no need for the system specs as I have a well known limited deployment.
John-Daniel Trask
Raygun
Posted on
Oct 29 2013
Hi Matt,
This is in the latest build on Nuget (coming soon to the Xamarin store if you're using the component there at all).
Kind regards,
John-Daniel Trask
Co-founder
Mindscape Limited
mattdwen
Posted on
Oct 29 2013
Excellent, works a treat :D