there is an error in path in uwp

Anonymous
2022-10-14T09:54:58.937+00:00

I am doing a project in UWP. With the reference of [sqlite-databases][1] i think i didn't wrote the code correctly there is an error in path![250456-path.png][2] if I give (using System.IO;) the path error is solved. but if I run the program there is an error called exception thrown ![250472-exception-thrown.png][3] I can't figure it out what mistake I have done if any one knows about it please give a solution OR give me a git hub link of the same project so I will know how to implement the code if you can't understand my plroblem please let me know so i will inprove my question . i don't know how to explain it [1]: https://learn.microsoft.com/en-us/windows/uwp/data-access/sqlite-databases#prepare-the-data-access-class [2]: /api/attachments/250456-path.png?platform=QnA [3]: /api/attachments/250472-exception-thrown.png?platform=QnA

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,781 questions
Universal Windows Platform (UWP)
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,466 questions
{count} vote

Accepted answer
  1. Junjie Zhu - MSFT 15,676 Reputation points Microsoft Vendor
    2022-10-17T03:07:04.33+00:00

    Hello anonymous user ,
    Welcome to Microsoft Q&A!

    You need to install the Microsoft.Data.SQlite package instead of Microsoft.Data.SQlite.Core. I have tested it, and it works fine after using the Microsoft.Data.SQlite package and using the official code samples.

    This is an official documentation content issue, I will report this issue through internal channels. Sorry for the inconvenience.

    Thank you.
    Junjie


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful