Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arolson101 opened this issue Apr 9, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@arolson101
Copy link

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
Copy link
Owner

Odonno commented Apr 9, 2021

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

@Odonno Odonno added the bug Something isn't working label Apr 9, 2021
@arolson101
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants