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

Fix settings page crash on Windows 10 #1480

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

HO-COOH
Copy link
Contributor

@HO-COOH HO-COOH commented Mar 7, 2024

Description

On Windows 10, it does not seem to load Microsoft.WindowsAppRuntime.Insights.Resource.dll and this crash the app. Added a fallback for this.

Motivation and Context

Closes #1477

How Has This Been Tested?

Manual

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@karkarl
Copy link
Collaborator

karkarl commented Mar 28, 2024

/azp run

1 similar comment
@karkarl
Copy link
Collaborator

karkarl commented Apr 23, 2024

/azp run

@karkarl
Copy link
Collaborator

karkarl commented Apr 24, 2024

@HO-COOH do you mind resolving the conflict?

@HO-COOH
Copy link
Contributor Author

HO-COOH commented Apr 25, 2024

@HO-COOH do you mind resolving the conflict?

Done. I don't know how the conflict occurred tho.

@karkarl
Copy link
Collaborator

karkarl commented Apr 25, 2024

/azp run

@Scottj1s Scottj1s merged commit 0cea53d into microsoft:main Apr 25, 2024
2 checks passed
@Scottj1s
Copy link
Member

@HO-COOH thanks for this! I'll do some investigating on why the given assembly is not being found. But we'll take this fix in the meantime.

karkarl pushed a commit that referenced this pull request Jul 15, 2024
## Description
On Windows 10, it does not seem to load
`Microsoft.WindowsAppRuntime.Insights.Resource.dll` and this crash the
app. Added a fallback for this.

## Motivation and Context
Closes #1477 

## How Has This Been Tested?
Manual

## Screenshots (if appropriate):

![image](https://github.com/microsoft/WinUI-Gallery/assets/42881734/70aa186c-4c53-4dce-b989-62dd04c3dcbe)

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WinUI Gallery sample crashes when clicking Settings
3 participants