Skip to content

Commit

Permalink
Update packages, Fix Snackbar
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavAntonyuk committed Apr 25, 2024
1 parent c774f4d commit 619ee0c
Show file tree
Hide file tree
Showing 37 changed files with 100 additions and 66 deletions.
2 changes: 1 addition & 1 deletion Auth/AuthServices/AuthServices.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Identity.Client" Version="4.59.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.60.3" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Auth/MauiAuth/MauiAuth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Auth/MauiAuthBlazor/MauiAuthBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AuthServices\AuthServices.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.14" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.21" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Database/MauiTaskListApp/MauiTaskListApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.4" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Database/Sqlite/MauiSqliteBlazor/MauiSqliteBlazor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.14" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.21" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Database/Sqlite/SqliteRepository/SqliteRepository.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="sqlite-net-pcl" Version="1.9.141-beta" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.14" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.14" />
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.21" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.21" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion DynamicFab/DynamicFab.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion IPTVPlayer/IPTVPlayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="m3uParser.NET" Version="1.0.17" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="3.1.0" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions KanbanBoard/KanbanBoard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.3">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.4" />
</ItemGroup>

<ItemGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios' or $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) =='maccatalyst' ">
Expand Down
3 changes: 1 addition & 2 deletions KanbanBoard/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<converters:BoolToObjectConverter x:Key="BoolToObjectConverter"
TrueObject="{StaticResource SwipeVisibleBackgroundColor}"
FalseObject="{StaticResource SwipeInvisibleBackgroundColor}" />
<kanbanBoard:BoolToColorConverter x:Key="BoolToColor" />
</ContentPage.Resources>

<VerticalStackLayout>
Expand Down Expand Up @@ -65,7 +64,7 @@
<CarouselView
ZIndex="0"
x:Name="Board"
IndicatorView="Indicator"
IndicatorView="{x:Reference Indicator}"
EmptyView="No columns to display"
ItemsSource="{Binding Columns}"
Position="{Binding Position}"
Expand Down
3 changes: 3 additions & 0 deletions KanbanBoard/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ private void DeleteDbAndCloseApp()
using var scope = serviceProvider.CreateScope();
using var dbContext = scope.ServiceProvider.GetRequiredService<KanbanBoardDbContext>();
dbContext.Database.EnsureDeleted();
#if WINDOWS
System.Diagnostics.Process.Start("explorer","kanbanboard://");
#endif
Application.Current?.Quit();
}
}
5 changes: 4 additions & 1 deletion KanbanBoard/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ public static MauiApp CreateMauiApp()
{
fonts.AddFont("Font Awesome 6 Free-Solid-900.otf", "FASolid");
});
builder.UseMauiCommunityToolkit();
builder.UseMauiCommunityToolkit(x =>
{
x.SetShouldEnableSnackbarOnWindows(true);
});

builder.Services.AddDbContext<KanbanBoardDbContext>();
builder.Services.AddSingleton<MainPageViewModel>();
Expand Down
24 changes: 23 additions & 1 deletion KanbanBoard/Platforms/Windows/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">
xmlns:com="http://schemas.microsoft.com/appx/manifest/com/windows10"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
IgnorableNamespaces="uap rescap com desktop">

<Identity Name="maui-package-name-placeholder" Publisher="CN=Vladislav Antonyuk" Version="0.0.0.0" />

Expand Down Expand Up @@ -33,6 +35,26 @@
<uap:DefaultTile Square71x71Logo="$placeholder$.png" Wide310x150Logo="$placeholder$.png" Square310x310Logo="$placeholder$.png" />
<uap:SplashScreen Image="$placeholder$.png" />
</uap:VisualElements>
<Extensions>
<uap:Extension Category="windows.protocol">
<uap:Protocol Name="kanbanboard"/>
</uap:Extension>

<!-- Specify which CLSID to activate when notification is clicked -->
<desktop:Extension Category="windows.toastNotificationActivation">
<desktop:ToastNotificationActivation ToastActivatorCLSID="efe6ab2c-b91d-459a-b8a7-5035d22a8e09" />
</desktop:Extension>

<!-- Register COM CLSID -->
<com:Extension Category="windows.comServer">
<com:ComServer>
<com:ExeServer Executable="KanbanBoard\KanbanBoard.exe" DisplayName="$targetnametoken$" Arguments="----AppNotificationActivated:">
<com:Class Id="efe6ab2c-b91d-459a-b8a7-5035d22a8e09" />
</com:ExeServer>
</com:ComServer>
</com:Extension>

</Extensions>
</Application>
</Applications>

Expand Down
2 changes: 1 addition & 1 deletion MauiAnimation/MauiAnimation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion MauiBank/MauiBank.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Plugin.Fingerprint" Version="3.0.0-beta.1" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion MauiBlazorPhotoGallery/MauiBlazorPhotoGallery.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.14" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.21" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions MauiBluetooth/MauiBluetooth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Plugin.BLE" Version="3.1.0-beta.2" />
<PackageReference Include="Plugin.BLE" Version="3.1.0-beta.3" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions MauiCaptcha/MauiCaptcha.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.14" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebView.Maui" Version="8.0.21" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion MauiLocalization/MauiLocalization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions MauiMaps/MauiMaps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="AutoFixture" Version="5.0.0-preview0009" />
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="AutoFixture" Version="5.0.0-preview0011" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="CommunityToolkit.Maui.Maps" Version="2.0.0" />
<PackageReference Include="CommunityToolkit.Maui.Maps" Version="2.0.1" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion MauiMarkdown/MauiMarkdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<ItemGroup>
<PackageReference Include="M.BindableProperty.Generator" Version="0.11.1" />
<PackageReference Include="Microsoft.Maui.Graphics.Text.Markdig" Version="8.0.14" />
<PackageReference Include="Microsoft.Maui.Graphics.Text.Markdig" Version="8.0.21" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion MauiMultiWindow/MauiMultiWindow.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions MauiPaint/MauiPaint.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="InterfaceConverter.SystemTextJson" Version="1.2.1" />
<PackageReference Include="InterfaceConverter.SystemTextJson" Version="1.3.2" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion MauiShellCustomization/MauiShellCustomization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@

<ItemGroup>
<PackageReference Include="M.BindableProperty.Generator" Version="0.11.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion MauiSpeech/MauiSpeech.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="7.0.1" />
<PackageReference Include="CommunityToolkit.Maui" Version="8.0.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="OpenAI" Version="1.11.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.analyzers" Version="1.11.0">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.analyzers" Version="1.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.6" />
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.7" />
<PackageReference Include="AndroidSdk" Version="0.9.0" />
<PackageReference Include="VisualTestUtils.MagickNet" Version="0.9.46-beta" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.analyzers" Version="1.11.0">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.analyzers" Version="1.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.6" />
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.7" />
<PackageReference Include="VisualTestUtils.MagickNet" Version="0.9.46-beta" />
</ItemGroup>

Expand Down
8 changes: 4 additions & 4 deletions MauiTests/Client.Tizen.UITests/Client.Tizen.UITests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.analyzers" Version="1.11.0">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.analyzers" Version="1.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -23,7 +23,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.6" />
<PackageReference Include="Appium.WebDriver" Version="5.0.0-rc.7" />
<PackageReference Include="VisualTestUtils.MagickNet" Version="0.9.46-beta" />
</ItemGroup>

Expand Down
Loading

0 comments on commit 619ee0c

Please sign in to comment.