Skip to content

Update UiApplication.cs#1082

Merged
pomianowski merged 3 commits intolepoco:developmentfrom
ricaun:patch-2
May 12, 2024
Merged

Update UiApplication.cs#1082
pomianowski merged 3 commits intolepoco:developmentfrom
ricaun:patch-2

Conversation

@ricaun
Copy link
Copy Markdown
Contributor

@ricaun ricaun commented May 9, 2024

Ignore Application without Library Resources

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

If the Application.Current does not contain any Wpf.Ui; resource that application still is used , this PR checks the resources and ignore the Application that does not use Wpf.Ui;.

Issue Number: #1081

What is the new behavior?

By default nothing gonna change: if the MyApp\App.xaml have resources related to the Wpf.Ui library the Application.Current is used like before.

This PR only impact when the library is running outside of the desktop app context.

Other information

Ignore `Application` without LibraryResources
@ricaun ricaun requested a review from pomianowski as a code owner May 9, 2024 23:01
@github-actions github-actions Bot added PR Pull request dotnet labels May 9, 2024
@pomianowski pomianowski merged commit 493d1e0 into lepoco:development May 12, 2024
@ricaun
Copy link
Copy Markdown
Contributor Author

ricaun commented May 12, 2024

@pomianowski
Great 👏🏻
Would be amazing if you release or prerelease in the nuget a new version. 🤗

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dotnet PR Pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants