Skip to content

[BuildTasks] Fix resolution for nested types - #16841

Merged
rmarinho merged 1 commit into
dotnet:mainfrom
pjcollins:nested-xaml
Aug 21, 2023
Merged

rmarinho merged 1 commit into
dotnet:mainfrom
pjcollins:nested-xaml

Conversation

@pjcollins

@pjcollins pjcollins commented Aug 17, 2023 •

Copy link
Copy Markdown
Member

Fixes #16293
Context: db74ff7

The XamlC task was failing to resolve public nested types from a class
library. Fix this by updating the IsPublicOrVisibleInternal checks
added in commit db74ff7 to also accept public nested types.

@Eilon Eilon added the area-xaml XAML, CSS, Triggers, Behaviors label Aug 17, 2023
@pjcollins
pjcollins marked this pull request as ready for review August 17, 2023 23:59
@pjcollins
pjcollins requested a review from a team as a code owner August 17, 2023 23:59
@jsuarezruiz

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

@samhouts samhouts added this to the .NET 8 GA milestone Aug 18, 2023
@rmarinho
rmarinho requested review from StephaneDelcroix and removed request for rachelkang August 18, 2023 14:51
Fixes: dotnet#16293
Context: dotnet@db74ff7

The `XamlC` task was failing to resolve public nested types from a class
library.  Fix this by updating the `IsPublicOrVisibleInternal` checks
added in commit db74ff7 to also accept public nested types.
@pjcollins

Copy link
Copy Markdown
Member Author

@rmarinho looks like some known UI test issues may be blocking this? What is the best path forward to resolve this?

@rmarinho

Copy link
Copy Markdown
Member

We can ignore the failing uitests.

@pjcollins

Copy link
Copy Markdown
Member Author

We can ignore the failing uitests.

Thanks, do we need any other reviewers on this or could an owner override those check requirements and merge this?

@rmarinho
rmarinho removed their request for review August 21, 2023 14:58
@rmarinho
rmarinho merged commit 0d162b3 into dotnet:main Aug 21, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 5, 2023
@samhouts samhouts added the fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171 label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-xaml XAML, CSS, Triggers, Behaviors fixed-in-8.0.0-rc.1.9171 Look for this fix in 8.0.0-rc.1.9171

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[regression/8.0.0-preview.6.8686] Static extension can't resolve nested class references from class libraries

6 participants