You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request improves the XAML source generation and hot reload features of the Uno Platform. It adds a Checksum property to the XamlFileDefinition class to track the source file content and avoid unnecessary regeneration. It updates the XamlFileParser and XamlFileGenerator classes to use the Checksum value and improve the performance and reliability of the source generator. It also updates the Microsoft.CodeAnalysis packages to the latest version and fixes some minor issues in the ClientHotReloadProcessor class. Additionally, it adds a new test class and a new XAML page to the Uno.UI.RuntimeTests project to verify the hot reload behavior of a data template in a content control. It also adds a commented-out block of code to the project file for Uno.UI.RuntimeTests.Skia, which can be used to enable generated source debugging and compiler generated files emission for the source generators.
PR Checklist
Please check if your PR fulfills the following requirements:
Docs have been added/updated which fit documentation template (for bug fixes / features)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): closes https://github.com/unoplatform/uno-private/issues/212
PR Type
What kind of change does this PR introduce?
What is the new behavior?
Improved support for nested generated classes reload detection.
Copilot Summary
🤖 Generated by Copilot at 1373695
This pull request improves the XAML source generation and hot reload features of the Uno Platform. It adds a
Checksumproperty to theXamlFileDefinitionclass to track the source file content and avoid unnecessary regeneration. It updates theXamlFileParserandXamlFileGeneratorclasses to use theChecksumvalue and improve the performance and reliability of the source generator. It also updates theMicrosoft.CodeAnalysispackages to the latest version and fixes some minor issues in theClientHotReloadProcessorclass. Additionally, it adds a new test class and a new XAML page to the Uno.UI.RuntimeTests project to verify the hot reload behavior of a data template in a content control. It also adds a commented-out block of code to the project file for Uno.UI.RuntimeTests.Skia, which can be used to enable generated source debugging and compiler generated files emission for the source generators.PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):