Universal Windows Plateform And Live SDK

后端 未结 2 1721
失恋的感觉
失恋的感觉 2021-01-25 06:36

I have a problem. I recently installed VS 2015 and Windows 10 on my computer. Having Universal Apps are amazing and I plan to convert some of my programs on UWP. But I have a pr

相关标签:
2条回答
  • 2021-01-25 07:22

    I had the same issue adding the Live SDK to my app. For some reason the Package.JSON isn't correctly resolving and downloading the package (or recognizing it).

    Either way, just add the DLL to your references the old fashioned way. Personally, I'd just add it to a console app (not using the new Project.json package), get it from NUGET, and grab the DLL from the Packages.

    After you have the DLL:

    1. Right click on References
    2. Add Reference -> Browse...
    3. Find the DLL and add it. ("...\\packages[LiveSdk]...")
    4. It works!

    Download it from here, Compile it, and grab the desktop SDK:

    https://github.com/liveservices/LiveSDK-for-Windows

    You can also download the msi, install it, figure out where the DLL is installed to and grab it from there:

    https://www.microsoft.com/en-us/download/details.aspx?id=42552

    0 讨论(0)
  • 2021-01-25 07:24

    According to this GitHub issue, LiveSDK isn't supposed to be used for Universal Windows Platform apps: https://github.com/liveservices/LiveSDK-for-Windows/issues/58

    Instead we should use these SDKs that cover the same functionality:

    • Mail/Calendar/Contacts: https://dev.outlook.com/
    • Files/OneDrive: https://dev.onedrive.com/
    0 讨论(0)
提交回复
热议问题