Forum Libraries, Components, and Plugins

False positive from for sqllite component?


I have a library that I link against the SQLite component in the component store and it gives me a pile of problems with p/invokes. Is it me or is this correct?


  • AlexSotoAlexSoto MXXamarin Team Xamurai

    Hi, could you be a more specific about the errors/issues you are having??


  • nodoidnodoid GBMember, Beta ✭✭✭

    if i run the sqlite component through, I'm getting these errors

    I have a feeling the scanner is giving a false positive for the p/invokes

  • nodoidnodoid GBMember, Beta ✭✭✭

    I realise that the version scanned is the iOS version so the droid/win mob/win store data for those will be rubbish ;)

  • JosephHillJosephHill USForum Administrator, Xamarin Team Xamurai

    Hi Paul

    The tool doesn't keep a list of P/Invokes. It just flags any P/Invoke in the assembly as a method that the developer needs to ensure that the native method is available on the target platform. Since the tool is dumb in this regard, we mark those issues with a warning flag, rather than putting a red X on them (so it's not technically a false positive).

    Hope that helps


  • nodoidnodoid GBMember, Beta ✭✭✭

    Thanks for that - makes things much clearer to me :)

Sign In or Register to comment.