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(implicit packages):Adding MAUI and C# markup packages when enabled #18703

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

LuisAlfredo92
Copy link

@LuisAlfredo92 LuisAlfredo92 commented Nov 5, 2024

Also found a probable typo

GitHub Issue (If applicable): closes #18700

PR Type

What kind of change does this PR introduce?

  • Project automation

What is the current behavior?

You have to add the NuGet package manually

What is the new behavior?

It adds it automatically to the main project

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Number of tests passed and failed didn't change
imagen

Internal Issue (If applicable): #18700

@MartinZikmund
Copy link
Member

@LuisAlfredo92 please make sure to reword the commits to adhere to Conventional Commits spec https://www.conventionalcommits.org/en/v1.0.0/

Adding MAUI and C# Markup packages when they are selected in templates. Also, found a probable typo that could cause the original problem

refs: unoplatform#18700
@LuisAlfredo92 LuisAlfredo92 changed the title Adding MAUI packages when MAUI embedding is enabled fix(implicit packages):Adding MAUI and C# markup packages when enabled Nov 7, 2024
@LuisAlfredo92
Copy link
Author

I did the change, is it correct now? Or do I have to create the fork again?

@@ -44,6 +44,15 @@
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Markup.Generators" ProjectSystem="true" />
</ItemGroup>

<ItemGroup Condition="$(UnoFeatures.Contains(';mauiembedding;'))">
Copy link
Member

@jeromelaban jeromelaban Nov 8, 2024

Choose a reason for hiding this comment

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

It feels like this section is not required, it's a duplicate of the other section in Uno.Extensions.Implicit.Packages.ProjectSystem.targets. It's likely, though, that the bug really was the typo that you found!

Copy link
Author

Choose a reason for hiding this comment

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

Done, it should work now

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.

Adding Uno.Extensions.Maui.WinUI.Markup automatically if they use MAUI and C# markup
3 participants