Odonno / ReduxSimple

Simple Stupid Redux Store using Reactive Extensions
http://www.nuget.org/packages/ReduxSimple/
MIT License
143 stars 19 forks source link

System.MissingMethodException: 'Method not found: 'System.String Microsoft.Toolkit.Uwp.Helpers.SystemInformation.get_ApplicationName()'.' #91

Open arolson101 opened 3 years ago

arolson101 commented 3 years ago

When I try to open the devtools I get this:

System.MissingMethodException: 'Method not found: 'System.String Microsoft.Toolkit.Uwp.Helpers.SystemInformation.get_ApplicationName()'.'

My project is using the latest version of Microsoft.Toolkit.Uwp (v7.0.1). If I go back to v6.1.1 it gets further, but then I have to also roll back System.Reactive from v5.0.0 to v4.4.1. With all of them on old versions, it works.

Also, I don't know if it's avoidable, but adding the devtools forces me to increase my minimum supported windows version to 18362 (I'd rather it be 17763).

Odonno commented 3 years ago

Hi @arolson101

Well, it's a weird error. Have you tried to install the Microsoft.Toolkit.Uwp.Helpers package? I don't know why it's required now.

About the requirement of the version 18362 of Windows, it is required because I am using the AppWindow class that was added in this version, in order to display secondary windows. https://docs.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.appwindow?view=winrt-18362

arolson101 commented 3 years ago

There is no package Microsoft.Toolkit.Uwp.Helpers; that namespace is in Microsoft.Toolkit.Uwp.dll according to SystemInformation class doc.