Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sudden CI errors #609

Merged
merged 11 commits into from
Jan 27, 2025
Merged

Fix sudden CI errors #609

merged 11 commits into from
Jan 27, 2025

Conversation

Arlodotexe
Copy link
Member

@Arlodotexe Arlodotexe commented Jan 24, 2025

This PR

  • Fixes several errors related to missing XMLDoc comments.
  • Updates our uno.check version to the latest 1.27.4
  • Attempts unblock our CI

Prerequisite PR CommunityToolkit/Tooling-Windows-Submodule#249

@michael-hawker
Copy link
Member

Hmm, looks like Uno-check isn't it...

"/home/runner/work/Windows/Windows/tooling/ProjectHeads/AllComponents/Wasm/CommunityToolkit.App.Wasm.csproj" (default target) (1:10) ->
(UnoGenerateAssetsManifest target) ->
/home/runner/.nuget/packages/uno.wasm.bootstrap/9.0.8/build/Uno.Wasm.Bootstrap.targets(270,3): error MSB4044: The "GenerateUnoAssetsManifest_v05da712db32bc85a0fb32e039ff4b1d24a10ddbb" task was not given a value for the required parameter "OutputPackagePath". [/home/runner/work/Windows/Windows/tooling/ProjectHeads/AllComponents/Wasm/CommunityToolkit.App.Wasm.csproj::TargetFramework=net9.0]

@jeromelaban did something else change this year we should be aware of?

This build on main passed at the end of 2024: https://github.com/CommunityToolkit/Windows/actions/runs/12550855416

And our next one with a simple typo fixed failed (and subsequent are failing): https://github.com/CommunityToolkit/Windows/actions/runs/12934722557

@jeromelaban
Copy link

@jeromelaban did something else change this year we should be aware of?

Yes, there is, it's a breaking changes for wasm in .NET 9.0.102 that we fixed with the uno.wasm.bootstrap 9.0.10, there's also a workaround in unoplatform/uno#19232 (comment) if you cannot update yet.

@michael-hawker
Copy link
Member

Thanks Jerome! FYI @Arlodotexe - We should just be able to update the bootstrapper, eh? As we've moved to .NET 9?

@Arlodotexe
Copy link
Member Author

Huge thanks @jeromelaban, I'll give that a go!

Thanks Jerome! FYI @Arlodotexe - We should just be able to update the bootstrapper, eh? As we've moved to .NET 9?

Notice how the other platforms are now failing after updating tooling. There are various "missing xml comment" error-warnings to resolve now, at least a dozen or two. Got that done locally, will push soon!

Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think we can use inheritdoc in a few more places, but LGTM. Approving so we'll be unblocked once we get a clean CI and merge the submodule in before. Thanks!

@michael-hawker
Copy link
Member

Looks like still have some XML clean-up. Not sure how we weren't catching that before. We've had that check on in the past.

@Arlodotexe
Copy link
Member Author

Arlodotexe commented Jan 24, 2025

Looks like still have some XML clean-up. Not sure how we weren't catching that before. We've had that check on in the past.

I'd been building wasm locally to test and made sure to build all multitargets, but hadn't thought to build all heads. Should be easy to fix...

@Arlodotexe
Copy link
Member Author

Arlodotexe commented Jan 24, 2025

The error that's appearing on UWP:

       "V:\Windows\tooling\ProjectHeads\AllComponents\uwp\CommunityToolkit.App.Uwp.csproj" (Clean;Build target) (1:7) ->
       "V:\Windows\components\SettingsControls\samples\SettingsControls.Samples.csproj" (default target) (5:25) ->
       "V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj" (default target) (7:32) ->
       (CoreCompile target) ->
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(20,29): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(22,91): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(23,33): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(30,29): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(32,86): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ListViewBase\ListViewExtensions.Command.cs(33,44): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also m 
       atched other overloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Markup\BitmapIconExtension.cs(14,37): error CS0419: Ambiguous reference in cref attribute: 'Uri'. Assuming 'Uri', but could have also matched other overloads  
       including 'Uri'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Markup\BitmapIconSourceExtension.cs(14,37): error CS0419: Ambiguous reference in cref attribute: 'Uri'. Assuming 'Uri', but could have also matched other over 
       loads including 'Uri'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(13,76): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(18,76): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(23,29): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(25,95): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(26,33): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(33,29): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(35,90): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(36,44): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(43,29): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(45,95): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(46,33): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(53,29): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(55,90): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\ScrollViewer\ScrollViewerExtensions.Properties.cs(56,44): error CS0419: Ambiguous reference in cref attribute: 'Thickness'. Assuming 'Thickness', but could ha 
       ve also matched other overloads including 'Thickness'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(19,31): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(24,77): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(34,29): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(36,99): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(37,33): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(41,29): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(43,84): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]
         V:\Windows\components\Extensions\src\Text\HyperlinkExtensions.cs(44,44): error CS0419: Ambiguous reference in cref attribute: 'ICommand'. Assuming 'ICommand', but could have also matched other ov 
       erloads including 'ICommand'. [V:\Windows\components\Extensions\src\CommunityToolkit.WinUI.Extensions.csproj::TargetFramework=uap10.0.17763]

Very strange that these are only appearing now. Does the platform even ship with generic versions of ICommand and Thickness?

@Arlodotexe
Copy link
Member Author

Possibly related: dotnet/roslyn#51013

@Arlodotexe Arlodotexe changed the title Bump uno.check version to 1.27.4 Fix sudden CI errors Jan 24, 2025
@Arlodotexe
Copy link
Member Author

@michael-hawker We're thinking this may be caused by CommunityToolkit/Tooling-Windows-Submodule#245

Since this is clearly a platform bug, we'll suppress this for now.

@Arlodotexe Arlodotexe enabled auto-merge (rebase) January 25, 2025 01:58
@Arlodotexe Arlodotexe merged commit 9756f80 into main Jan 27, 2025
24 checks passed
@michael-hawker michael-hawker deleted the uno-check/update branch January 28, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants