fix(sdk): Adding MAUI and C# markup packages when enabled
Adding MAUI and C# Markup packages when they are selected in templates. Also, found a probable typo that could cause the original problem refs: #18700
This commit is contained in:
Родитель
5cb1c72566
Коммит
fb5f508137
|
@ -50,7 +50,7 @@
|
|||
|
||||
<ItemGroup Condition="$(UnoFeatures.Contains(';mauiembedding;'))">
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Markup" ProjectSystem="true" Condition="$(UnoFeatures.Contains('CSharpMarkup'))" />
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Markup" ProjectSystem="true" Condition="$(UnoFeatures.Contains(';csharpmarkup;'))" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Controls" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Controls.Compatibility" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Graphics" ProjectSystem="true" />
|
||||
|
|
|
@ -49,6 +49,15 @@
|
|||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Markup.Generators" ProjectSystem="true" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(UnoFeatures.Contains(';mauiembedding;'))">
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Extensions.Maui.WinUI.Markup" ProjectSystem="true" Condition="$(UnoFeatures.Contains(';csharpmarkup;'))" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Controls" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Controls.Compatibility" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Graphics" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Microsoft.Maui.Controls.Build.Tasks" ProjectSystem="true" Condition="$(SingleProject) == 'true'"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(UnoFeatures.Contains(';toolkit;'))">
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Toolkit.WinUI" ProjectSystem="true" />
|
||||
<_UnoProjectSystemPackageReference Include="Uno.Toolkit.WinUI.Markup" ProjectSystem="true" Condition="$(UnoFeatures.Contains(';csharpmarkup;'))" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче