Code Monkey home page Code Monkey logo

Comments (8)

ymoldavanov avatar ymoldavanov commented on August 16, 2024

Easy steps to reproduce resources issue:

  1. Create new blank C# project (I use VS Express 2013 for Windows)
  2. Nuget Packages - > find and install LiveSDK.5.6.2
  3. invoke method test()
    using Microsoft.Live;
    async void test()
    {
        LiveAuthClient _LiveAuthClient = new LiveAuthClient("http://www.ximad.com");
        await _LiveAuthClient.InitializeAsync();
    }

Expected: Exception "The app is not configured correctly to use Live Connect services. To configure your app, please follow the instructions on http://go.microsoft.com/fwlink/?LinkId=220871." at Microsoft.Live.LiveAuthClient.d__8.MoveNext()

Actual: Null reference exception "Object reference not set to an instance of an object."
" at Microsoft.Live.ResourceHelper.GetString(String name)\r\n
at Microsoft.Live.TailoredAuthClient.d__0.MoveNext()\r\n
...
at Microsoft.Live.LiveAuthClient.d__8.MoveNext()\r\n
...
at App2.App.d__0.MoveNext() "

Note, all works as expected if compile dll from source and copy Microsoft.Live.pri and Microsoft.Live\SDKManifest.xml into App2\packages\LiveSDK.5.6.2\WindowsXAML folder (beside Microsoft.Live.dll from nuget package)

from livesdk-for-windows.

ymoldavanov avatar ymoldavanov commented on August 16, 2024

BTW. Same issue if install 5.6 via LiveSDK.msi. When installation is completed folder c:\Program Files (x86)\Microsoft SDKs\Live\v5.6\Windows Store app XAML" does NOT contain PRI file (like it was for 5.5 "c:\Program Files (x86)\Microsoft SDKs\Live\v5.5\Windows Store app XAML\Redist\CommonConfiguration\Neutral\Microsoft.Live.pri" )

from livesdk-for-windows.

peternied avatar peternied commented on August 16, 2024

We fixed this issue, however it looks like the NuGet package was not updated with the newer version of the binaries

from livesdk-for-windows.

peternied avatar peternied commented on August 16, 2024

Ok, figured out what is going wrong, apparently nuget packed does have the correct DLL for some platforms, but for other platforms it does not specifically for platforms that use WindowsXAML. I'm working on repairing the package

from livesdk-for-windows.

Gellore avatar Gellore commented on August 16, 2024

Is NuGet package going to be updated with this fix? It's kind of critical one. If fix is not ready yet, is there ETA? Or maybe just a workaround for now?

from livesdk-for-windows.

peternied avatar peternied commented on August 16, 2024

Yes there will be a nuget release 5.6.3 that will have the fix in it, it will take a little time as our signing process doesn't happen over weekends. I'll be sure to reach out when it is available. Until that time can you be unblocked with updated source?

from livesdk-for-windows.

Gellore avatar Gellore commented on August 16, 2024

I took your fork's ResourceHelper branch and it seems to be working fine, thanx.

from livesdk-for-windows.

peternied avatar peternied commented on August 16, 2024

@Gellore and @ymoldavanov I've updated the nuget package, please open another bug if there is any trouble there.

from livesdk-for-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.