Skip to content

Commit

Permalink
Merge pull request #608 from unoplatform/dev/ds/re-enable-maui-embedding
Browse files Browse the repository at this point in the history
re-enable disabled tests
  • Loading branch information
dansiegel authored Apr 9, 2024
2 parents d7c21a9 + 751a12d commit 517daa4
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
14 changes: 6 additions & 8 deletions build/.azure-pipelines.TemplateValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,15 @@ jobs:
templateArgs: '-preset=recommended -auth=msal -markup csharp'
MsalAuthMvvmCSharp:
templateArgs: '-preset=recommended -presentation mvvm -auth=msal -markup csharp'
# NOTE: Temporarily disabling so we can merge #585
# MauiBlank:
# templateArgs: '-preset=blank -maui'
# MauiRecommended:
# templateArgs: '-preset=recommended -maui'
MauiBlank:
templateArgs: '-preset=blank -maui'
MauiRecommended:
templateArgs: '-preset=recommended -maui'
ThemeService:
templateArgs: '-theme-service'
# NOTE: Temporarily disabling so we can merge #585
# https://github.com/unoplatform/uno.templates/issues/396
# Issue396:
# templateArgs: '-preset blank -platforms windows -platforms android -presentation none -theme fluent -nav blank -log none -maui -markup csharp'
Issue396:
templateArgs: '-preset blank -platforms windows -platforms android -presentation none -theme fluent -nav blank -log none -maui -markup csharp'
# https://github.com/unoplatform/uno.templates/issues/414
Issue414:
templateArgs: '-preset recommended -auth msal -markup csharp'
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<Import Project="Directory.UnoMetadata.targets" />

<PropertyGroup>
<UnoVersion Condition="'$(UnoVersion)' == ''">5.2.0-dev.2290</UnoVersion>
<UnoExtensionsVersion Condition="'$(UnoExtensionsVersion)' == ''">4.1.0-dev.82</UnoExtensionsVersion>
<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>
<UnoMarkupVersion Condition="'$(UnoMarkupVersion)' == ''">5.3.0-dev.11</UnoMarkupVersion>
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,7 +4,11 @@
<!--#if (unoMauiClassLibrary)-->
<ImplicitUsings Condition="$(ImplicitUsings) == ''">enable</ImplicitUsings>
<Nullable Condition="$(Nullable) == ''">enable</Nullable>
<ManagePackageVersionsCentrally Condition="$(ManagePackageVersionsCentrally) == ''">true</ManagePackageVersionsCentrally>

<!--#endif-->
<!--#if (useWinAppSdk)-->
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) or '$(EnableWindowsTargeting)' == 'true'">$baseTargetFramework$-windows10.0.19041</TargetFrameworks>
<!--#endif-->
<TargetFrameworks>
$baseTargetFramework$;
Expand All @@ -18,7 +22,7 @@
$baseTargetFramework$-maccatalyst;
<!--#endif-->
<!--#if (useWinAppSdk)-->
$baseTargetFramework$-windows10.0.19041;
$(TargetFrameworks);
<!--#endif-->
</TargetFrameworks>

Expand Down Expand Up @@ -63,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>
<PackageVersion Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageVersion Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
</ItemGroup>
</Project>

0 comments on commit 517daa4

Please sign in to comment.