Skip to content

enable css for StackBase, remove for StackLayout - #22419

Merged
mattleibow merged 3 commits into
dotnet:mainfrom
Giviruk:Enable-CSS-for-VerticalStackLayout-HorizontalStackLayout-#21843
May 17, 2024
Merged

enable css for StackBase, remove for StackLayout#22419
mattleibow merged 3 commits into
dotnet:mainfrom
Giviruk:Enable-CSS-for-VerticalStackLayout-HorizontalStackLayout-#21843

Conversation

@Giviruk

@Giviruk Giviruk commented May 15, 2024

Copy link
Copy Markdown
Contributor

enable css for StackBase for issue #21843

@Giviruk
Giviruk requested a review from a team as a code owner May 15, 2024 09:11
@Giviruk
Giviruk requested review from mattleibow and rmarinho May 15, 2024 09:11
@dotnet-policy-service dotnet-policy-service Bot added the community ✨ Community Contribution label May 15, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Hey there @Giviruk! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jsuarezruiz

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@Giviruk

Giviruk commented May 15, 2024

Copy link
Copy Markdown
Contributor Author

This is my first PR, I will try to fix the errors as soon as possible

@jsuarezruiz jsuarezruiz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are some errors and cannot pass the build:

D:\a\_work\1\s\src\Controls\src\Core\Properties\AssemblyInfo.cs(158,83): error CS0117: 'StackBase' does not contain a definition for 'OrientationProperty' [D:\a\_work\1\s\src\Controls\src\Core\Controls.Core.csproj::TargetFramework=net8.0-windows10.0.19041.0]
C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.5.240311000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(841,9): error MSB3073: The command ""C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.5.240311000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net8.0-windows10.0.19041.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net8.0-windows10.0.19041.0\\output.json"" exited with code 1. [D:\a\_work\1\s\src\Controls\src\Core\Controls.Core.csproj::TargetFramework=net8.0-windows10.0.19041.0]
D:\a\_work\1\s\src\Controls\src\Core\Properties\AssemblyInfo.cs(158,83): error CS0117: 'StackBase' does not contain a definition for 'OrientationProperty' [D:\a\_work\1\s\src\Controls\src\Core\Controls.Core.csproj::TargetFramework=net8.0-tizen]
D:\a\_work\1\s\src\Controls\src\Core\Properties\AssemblyInfo.cs(158,83): error CS0117: 'StackBase' does not contain a definition for 'OrientationProperty' [D:\a\_work\1\s\src\Controls\src\Core\Controls.Core.csproj::TargetFramework=net8.0-windows10.0.20348.0]
C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.5.240311000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(841,9): error MSB3073: The command ""C:\Users\cloudtest\.nuget\packages\microsoft.windowsappsdk\1.5.240311000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net8.0-windows10.0.20348.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net8.0-windows10.0.20348.0\\output.json"" exited with code 1. [D:\a\_work\1\s\src\Controls\src\Core\Controls.Core.csproj::TargetFramework=net8.0-windows10.0.20348.0]
    11 Error(s)

Let me know if can help with something :)

@Giviruk

Giviruk commented May 15, 2024

Copy link
Copy Markdown
Contributor Author

does StackBase need OrientationProperty support, the task only talked about SpacingProperty?
I added OrientationProperty by analogy with StackLayout's OrientationProperty

@Giviruk

Giviruk commented May 15, 2024

Copy link
Copy Markdown
Contributor Author

I looked and saw that the vertical layout and horizontal layout do not have OrientationProperty, so I returned OrientationProperty for StackLayout and left SpacingProperty for StackBase

Comment thread src/Controls/src/Core/Properties/AssemblyInfo.cs Outdated
@mattleibow

Copy link
Copy Markdown
Member

/azp run

@mattleibow
mattleibow enabled auto-merge (squash) May 15, 2024 14:56
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@Giviruk

Giviruk commented May 16, 2024

Copy link
Copy Markdown
Contributor Author

can someone explain this problem with the code or something else?

@mattleibow

Copy link
Copy Markdown
Member

something weird happened and navigation stopped working in just 1 test. Retrying.

@mattleibow
mattleibow merged commit 756c90d into dotnet:main May 17, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants