Repository navigation
Fix invalid type resolution for remote control client - #2055
Merged
Merged
Conversation
MartinZikmund
approved these changes
Nov 9, 2019
Member
Author
|
/azp run |
carldebilly
approved these changes
Nov 9, 2019
Member
|
@jeromelaban Is it possible the |
Member
Author
|
@MartinZikmund indeed, it was not pulished properly. I did the dance that's needed for signed packages to be published properly ;) Let me know if that works! |
MartinZikmund
added a commit
that referenced
this pull request
Jul 2, 2026
BC26 (uno-private #2055). The interface only ever existed because native mobile UIElement had to inherit a native view; with the native targets dropped, DependencyObject becomes a normal base class as in WinUI. The per-type mixin the DependencyObjectGenerator used to inject (store, GetValue/SetValue, binder, DataContext/TemplatedParent, IWeakReference Provider, IDependencyObjectInternal, ToString, [Bindable]) now lives once on the DependencyObject base class. DataContextProperty and Templated ParentProperty are registered a single time on the base (ownerType = DependencyObject) rather than per type; the store keeps using them unchanged (the DependencyObjectStore itself is untouched - that is a later phase). The generator and its diagnostics/tests are removed. Re-rooting and consumer fixes: - IFrameworkElement no longer extends DependencyObject (an interface can no longer inherit the class); call sites that used IFrameworkElement as a DependencyObject now cast. - Shared partials that declared ": DependencyObject" while a platform partial declared the real base (TextBlock) or that listed it after an interface (RowDefinition, ColumnDefinition, NativeListViewBase) are reconciled so the base class comes first / only once. - "where T : class, DependencyObject" constraints drop the now-illegal class constraint. - FlyoutBase/SetterBase OnDataContextChangedPartial and RowDefinition/ ColumnDefinition/Brush OnPropertyChanged2 become overrides of the base virtuals. Builds clean on Skia (net10.0). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01V1DDwHqUPDocBBHeu1YX3Z
MartinZikmund
added a commit
that referenced
this pull request
Jul 6, 2026
BC26 (uno-private #2055). The interface only ever existed because native mobile UIElement had to inherit a native view; with the native targets dropped, DependencyObject becomes a normal base class as in WinUI. The per-type mixin the DependencyObjectGenerator used to inject (store, GetValue/SetValue, binder, DataContext/TemplatedParent, IWeakReference Provider, IDependencyObjectInternal, ToString, [Bindable]) now lives once on the DependencyObject base class. DataContextProperty and Templated ParentProperty are registered a single time on the base (ownerType = DependencyObject) rather than per type; the store keeps using them unchanged (the DependencyObjectStore itself is untouched - that is a later phase). The generator and its diagnostics/tests are removed. Re-rooting and consumer fixes: - IFrameworkElement no longer extends DependencyObject (an interface can no longer inherit the class); call sites that used IFrameworkElement as a DependencyObject now cast. - Shared partials that declared ": DependencyObject" while a platform partial declared the real base (TextBlock) or that listed it after an interface (RowDefinition, ColumnDefinition, NativeListViewBase) are reconciled so the base class comes first / only once. - "where T : class, DependencyObject" constraints drop the now-illegal class constraint. - FlyoutBase/SetterBase OnDataContextChangedPartial and RowDefinition/ ColumnDefinition/Brush OnPropertyChanged2 become overrides of the base virtuals. Builds clean on Skia (net10.0). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01V1DDwHqUPDocBBHeu1YX3Z
MartinZikmund
added a commit
that referenced
this pull request
Jul 7, 2026
BC26 (uno-private #2055). The interface only ever existed because native mobile UIElement had to inherit a native view; with the native targets dropped, DependencyObject becomes a normal base class as in WinUI. The per-type mixin the DependencyObjectGenerator used to inject (store, GetValue/SetValue, binder, DataContext/TemplatedParent, IWeakReference Provider, IDependencyObjectInternal, ToString, [Bindable]) now lives once on the DependencyObject base class. DataContextProperty and Templated ParentProperty are registered a single time on the base (ownerType = DependencyObject) rather than per type; the store keeps using them unchanged (the DependencyObjectStore itself is untouched - that is a later phase). The generator and its diagnostics/tests are removed. Re-rooting and consumer fixes: - IFrameworkElement no longer extends DependencyObject (an interface can no longer inherit the class); call sites that used IFrameworkElement as a DependencyObject now cast. - Shared partials that declared ": DependencyObject" while a platform partial declared the real base (TextBlock) or that listed it after an interface (RowDefinition, ColumnDefinition, NativeListViewBase) are reconciled so the base class comes first / only once. - "where T : class, DependencyObject" constraints drop the now-illegal class constraint. - FlyoutBase/SetterBase OnDataContextChangedPartial and RowDefinition/ ColumnDefinition/Brush OnPropertyChanged2 become overrides of the base virtuals. Builds clean on Skia (net10.0). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01V1DDwHqUPDocBBHeu1YX3Z
MartinZikmund
added a commit
that referenced
this pull request
Jul 7, 2026
BC26 (uno-private #2055). The interface only ever existed because native mobile UIElement had to inherit a native view; with the native targets dropped, DependencyObject becomes a normal base class as in WinUI. The per-type mixin the DependencyObjectGenerator used to inject (store, GetValue/SetValue, binder, DataContext/TemplatedParent, IWeakReference Provider, IDependencyObjectInternal, ToString, [Bindable]) now lives once on the DependencyObject base class. DataContextProperty and Templated ParentProperty are registered a single time on the base (ownerType = DependencyObject) rather than per type; the store keeps using them unchanged (the DependencyObjectStore itself is untouched - that is a later phase). The generator and its diagnostics/tests are removed. Re-rooting and consumer fixes: - IFrameworkElement no longer extends DependencyObject (an interface can no longer inherit the class); call sites that used IFrameworkElement as a DependencyObject now cast. - Shared partials that declared ": DependencyObject" while a platform partial declared the real base (TextBlock) or that listed it after an interface (RowDefinition, ColumnDefinition, NativeListViewBase) are reconciled so the base class comes first / only once. - "where T : class, DependencyObject" constraints drop the now-illegal class constraint. - FlyoutBase/SetterBase OnDataContextChangedPartial and RowDefinition/ ColumnDefinition/Brush OnPropertyChanged2 become overrides of the base virtuals. Builds clean on Skia (net10.0). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01V1DDwHqUPDocBBHeu1YX3Z
MartinZikmund
added a commit
that referenced
this pull request
Jul 8, 2026
BC26 (uno-private #2055). The interface only ever existed because native mobile UIElement had to inherit a native view; with the native targets dropped, DependencyObject becomes a normal base class as in WinUI. The per-type mixin the DependencyObjectGenerator used to inject (store, GetValue/SetValue, binder, DataContext/TemplatedParent, IWeakReference Provider, IDependencyObjectInternal, ToString, [Bindable]) now lives once on the DependencyObject base class. DataContextProperty and Templated ParentProperty are registered a single time on the base (ownerType = DependencyObject) rather than per type; the store keeps using them unchanged (the DependencyObjectStore itself is untouched - that is a later phase). The generator and its diagnostics/tests are removed. Re-rooting and consumer fixes: - IFrameworkElement no longer extends DependencyObject (an interface can no longer inherit the class); call sites that used IFrameworkElement as a DependencyObject now cast. - Shared partials that declared ": DependencyObject" while a platform partial declared the real base (TextBlock) or that listed it after an interface (RowDefinition, ColumnDefinition, NativeListViewBase) are reconciled so the base class comes first / only once. - "where T : class, DependencyObject" constraints drop the now-illegal class constraint. - FlyoutBase/SetterBase OnDataContextChangedPartial and RowDefinition/ ColumnDefinition/Brush OnPropertyChanged2 become overrides of the base virtuals. Builds clean on Skia (net10.0). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01V1DDwHqUPDocBBHeu1YX3Z
3 of 5 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Type
What kind of change does this PR introduce?
What is the new behavior?
Building an Uno app without the Uno.UI.RemoteControl package works.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):