Skip to content

Fix the sample build#8751

Merged
mattleibow merged 1 commit intonet6.0from
dev/fix-samples
Jul 15, 2022
Merged

Fix the sample build#8751
mattleibow merged 1 commit intonet6.0from
dev/fix-samples

Conversation

@mattleibow
Copy link
Copy Markdown
Member

Description of Change

The sample build is secretly building maui! This is because the sample sln contains the foldable project - which is a library that references all of maui.

This PR marks the Foldable project as a "sample-able" project and excludes the maui project references when building the samples. It also moves all the package references in the "Microsoft.Maui.Controls.MultiTargeting.targets" file into the Core project as this is where it is needed. This makes Essentials no longer depend on things it does not need.

The sample build is secretly building maui! This is because the sample sln contains the foldable project - which is a library that references all of maui.
@mattleibow
Copy link
Copy Markdown
Member Author

This will remove a warning in #6871

@jsuarezruiz
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@mattleibow mattleibow merged commit 3cf0645 into net6.0 Jul 15, 2022
@mattleibow mattleibow deleted the dev/fix-samples branch July 15, 2022 08:58
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2023
@samhouts samhouts added fixed-in-7.0.0-rc.1.6683 fixed-in-6.0.486 Look for this fix in 6.0.486 SR4! labels Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

fixed-in-6.0.486 Look for this fix in 6.0.486 SR4! fixed-in-7.0.0-rc.1.6683

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants