Skip to content

Update version of Uno being used. #174

Closed

Description

@mrlacey

Labs projects are currently targetting Uno 4.2, but 4.3 is out (and 4.4 is due soon)

Uno.UI (v4.2.6) includes a bug that is blocking CommunityToolkit/Tooling-Windows-Submodule#64
However, updating to v 4.3.8 (the latest stable version) causes XamlNamedPropertyRelayGenerator to fail / fall silently--presumably due to the change in the way that Uno uses SourceGenerators.

Also worth confirming/investigating is that as Uno now uses the same sort of Source Generators (SGs) as Labs, does this have any issues for deterministic order? i.e. The Labs SGs rely on the output of the Uno SGs. Can they always be guaranteed to run in the desired order?

Adding a strategy & process for how and when to update to newly released Uno versions should also be planned. Such a plan would naturally extend to all dependencies too.

Activity

  1. michael-hawker commented on Jun 29, 2022

    @michael-hawker
    Member

    Uno just released 4.4 the other day as well.

  2. added
    Uno
    on Jul 11, 2022
  3. michael-hawker commented on Jul 20, 2022

    @michael-hawker
    Member

    Ran into this with the behavior:

    "D:\a\Labs-Windows\Labs-Windows\Toolkit.Labs.All.sln" (default target) (1:2) ->
    "D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Skia.Gtk\CommunityToolkit.Labs.Skia.Gtk.csproj" (default target) (9:6) ->
    (CoreCompile target) -> 
      D:\a\Labs-Windows\Labs-Windows\common\CommunityToolkit.Labs.Shared\Behaviors\NavigateToUriAction.cs(9,29): error CA1001: Type 'NavigateToUriAction' owns disposable field(s) '__storeBackingField' but is not disposable [D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Skia.Gtk\CommunityToolkit.Labs.Skia.Gtk.csproj]
    "D:\a\Labs-Windows\Labs-Windows\Toolkit.Labs.All.sln" (default target) (1:2) ->
    "D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Skia.WPF\CommunityToolkit.Labs.Skia.WPF.csproj" (default target) (10:7) ->
      D:\a\Labs-Windows\Labs-Windows\common\CommunityToolkit.Labs.Shared\Behaviors\NavigateToUriAction.cs(9,29): error CA1001: Type 'NavigateToUriAction' owns disposable field(s) '__storeBackingField' but is not disposable [D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Skia.WPF\CommunityToolkit.Labs.Skia.WPF.csproj]
    "D:\a\Labs-Windows\Labs-Windows\Toolkit.Labs.All.sln" (default target) (1:2) ->
    "D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Wasm\CommunityToolkit.Labs.Wasm.csproj" (default target) (13:6) ->
      D:\a\Labs-Windows\Labs-Windows\common\CommunityToolkit.Labs.Shared\Behaviors\NavigateToUriAction.cs(9,29): error CA1001: Type 'NavigateToUriAction' owns disposable field(s) '__storeBackingField' but is not disposable [D:\a\Labs-Windows\Labs-Windows\platforms\CommunityToolkit.Labs.Wasm\CommunityToolkit.Labs.Wasm.csproj]
    

    So need to check if still an issue on latest Uno or file an issue.

  4. Arlodotexe commented on Jul 27, 2022

    @Arlodotexe
    Member

    Looks like only the WPF is having issues when upgrading Uno.

    I've tried to update our WPF head to the latest version of the Uno templates, but ran into this issue

  5. Arlodotexe commented on Aug 11, 2022

    @Arlodotexe
    Member

    Closed in #258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Uno

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions