Skip to content

Commit

Permalink
chore: fixing MAUI build
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Apr 9, 2024
1 parent 0e34ec5 commit e036bd5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="Directory.UnoMetadata.targets" />

<PropertyGroup>
<UnoVersion Condition="'$(UnoVersion)' == ''">5.2.0-dev.2290</UnoVersion>
<UnoVersion Condition="'$(UnoVersion)' == ''">5.3.0-dev.111</UnoVersion>
<UnoExtensionsVersion Condition="'$(UnoExtensionsVersion)' == ''">4.2.0-dev.13</UnoExtensionsVersion>
<UnoThemesVersion Condition="'$(UnoThemesVersion)' == ''">4.2.0-dev.30</UnoThemesVersion>
<UnoToolkitVersion Condition="'$(UnoToolkitVersion)' == ''">5.2.0-dev.56</UnoToolkitVersion>
Expand Down
4 changes: 4 additions & 0 deletions src/Uno.Templates/content/unoapp/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
<PackageVersion Include="Uno.UITest.Helpers" Version="$UnoUITestHelpersVersion$" />
<PackageVersion Include="Xamarin.UITest" Version="$XamarinUITest$" />
<!--#endif-->
<!--#if (mauiEmbedding)-->
<PackageVersion Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageVersion Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
<!--#endif-->
<!--#if (enableDeveloperMode)-->
$$EnableDeveloperMode_CPM_PackageVersion$$
<!--#endif-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<!--#if (unoMauiClassLibrary)-->
<ImplicitUsings Condition="$(ImplicitUsings) == ''">enable</ImplicitUsings>
<Nullable Condition="$(Nullable) == ''">enable</Nullable>
<ManagePackageVersionsCentrally Condition="$(ManagePackageVersionsCentrally) == ''">true</ManagePackageVersionsCentrally>

<!--#endif-->
<!--#if (useWinAppSdk)-->
Expand Down Expand Up @@ -66,8 +67,8 @@
<!--#endif-->

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" VersionOverride="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" VersionOverride="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" />
</ItemGroup>

</Project>
6 changes: 6 additions & 0 deletions src/Uno.Templates/content/unomauilib/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
</ItemGroup>
</Project>

0 comments on commit e036bd5

Please sign in to comment.