-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xamarin problem #24
Comments
I'm getting this exception on iOS simulator |
Seems like this library relies on
Which seems to be incompatible with xamarin according to this discussion: P.S. Have not found any better or more "official" proofs |
https://docs.microsoft.com/en-us/xamarin/ios/data-cloud/system.data
|
Installing Still some people on stackoverflow claim that it has solved a similar |
|
I am using Microsoft Universal Platform (Windows 10) app and using According to Microsoft options are using |
You can change SQLite to "sqlite-net-pcl", that works perfectly in Xamarin. |
@mishrapw the sqlite xamarin package does work well indeed. So, @mishrapw could you please share a minimal mobile app capable of sqlite logging with serilog, please. I'm also struggling with this issue just like @MattiaDurli (who created this ticket), so your help would be valuable. |
// Copyright 2016 Serilog Contributors using System; namespace Serilog.SQLite.Logging
} |
@alexd-uss you can change SQL sink code as per above rest module are Xamarin compatible (You can create .Net Standard lib for this), later on i will extend this repository for Xamarin support. |
@mishrapw thank you for the code. I'll try it as soon as I can. |
Have created a fork of this project and changed it to support Sqlite-PCL. With the help from the commet from @mishrapw :) |
Hello, I'm trying to use sqlite sink in a Xamarin.Forms app, here's the code:
This code works, paths are correct and files gets created, but if I uncomment the SQLite line in the configuration I get this error:
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Mono.Debugging.Soft.SoftDebuggerSession.HandleBreakEventSet(Event[] es, Boolean dequeuing) in E:\A_work\2239\s\external\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1799
at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es) in E:\A_work\2239\s\external\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1589
at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler() in E:\A_work\2239\s\external\debugger-libs\Mono.Debugging.Soft\SoftDebuggerSession.cs:line 1489
I'm using Xamarin 4.3, VStudio 16.3.8, Serilog 2.9.0
The text was updated successfully, but these errors were encountered: