Skip to content

fix: App.xaml without resources NRE - #1875

Merged
ghuntley merged 1 commit into
masterfrom
dev/jela/empty-res-dictionary
Oct 16, 2019
Merged

ghuntley merged 1 commit into
masterfrom
dev/jela/empty-res-dictionary

Conversation

@jeromelaban

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): Fixes #1870

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the new behavior?

Fix NRE when building an app with an empty Resources block in App.xaml.

Note this cannot yet be automatically tested, but will be able to once the structure for creating samples based on dotnet new commands is available.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

@github-actions github-actions Bot added the area/code-generation Categorizes an issue or PR as relevant to code generation label Oct 16, 2019
@ghuntley

Copy link
Copy Markdown
Member

Tagging #1876 as this is a scenario for integration testing to prevent future regressions.

@ghuntley ghuntley changed the title Fix App.xaml without resources NRE fix: App.xaml without resources NRE Oct 16, 2019
@ghuntley
ghuntley merged commit 8f776ba into master Oct 16, 2019
@ghuntley
ghuntley deleted the dev/jela/empty-res-dictionary branch October 16, 2019 23:05
@davidjohnoliver

davidjohnoliver commented Oct 17, 2019 •

Copy link
Copy Markdown
Contributor

There should be a unit test for this. There's one App.xaml currently in Uno.UI.Tests but we can have as many as we want there. https://github.com/unoplatform/uno/tree/master/src/Uno.UI.Tests/App

GitHub
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported. - unoplatform/uno

jeromelaban added a commit that referenced this pull request Apr 9, 2026
fix(checkbox): Update toggle button loading logic to handle IsChecked state correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/code-generation Categorizes an issue or PR as relevant to code generation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error on Build in Latest Uno dev releases

3 participants