Comments (8)
Easy steps to reproduce resources issue:
- Create new blank C# project (I use VS Express 2013 for Windows)
- Nuget Packages - > find and install LiveSDK.5.6.2
- 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.
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.
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.
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.
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.
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.
I took your fork's ResourceHelper branch and it seems to be working fine, thanx.
from livesdk-for-windows.
@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)
- Possibly null ref exception after remote tos update HOT 3
- Why LiveAuthRequestUtility.RefreshTokenAsync() is not public? HOT 1
- Background upload on Windows Phone RT does not report progress HOT 1
- LiveAuthClient.ExchangeAuthCodeAsync doesn't seem to handle errors properly HOT 9
- Import email contact to websie HOT 3
- download / upload windows phone 8.1 HOT 4
- Nuget Package is out of date! HOT 1
- Nuget Package is still using custom IProgress<T> in .NET 4.5 HOT 1
- Subscribe calendar in windows phone HOT 4
- NullReferenceException at Microsoft.Live.ResourceHelper.GetString() HOT 1
- Server is always offline when moving non-existent file HOT 9
- Request throttling HOT 6
- UploadOperation is using unnecessary GetUploadLinkOperation HOT 2
- Server does not seem to be 100% consistent HOT 5
- WinStore resources file does not contain "NoResponseData" string
- Custom avatars cannot be loaded, the default one works fine HOT 2
- Live SDK package on Nuget doesn't work in Universal app and has to be installed manually HOT 5
- Will throw exception when used in a UWP compiled with .net native HOT 1
- Lack of login_hint param
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livesdk-for-windows.