Skip to content

Commit c81a8cd

Browse files
committed
Updated to .NET9 and fixed an issue in PassXYZ.Vault/Views/ItemsPage.xaml
1 parent 142b548 commit c81a8cd

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

PassXYZ.Vault.Tests/PassXYZ.Vault.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<UseMaui>true</UseMaui>

PassXYZ.Vault/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected override void OnStart()
3131
{
3232
InBackground = false;
3333
IsSshOperationTimeout = false;
34-
InitTestDb();
34+
//InitTestDb();
3535
ExtractIcons();
3636
}
3737

PassXYZ.Vault/PassXYZ.Vault.csproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
5-
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
5+
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
66
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
7-
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
7+
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
88

99
<!-- Note for MacCatalyst:
1010
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
@@ -13,10 +13,10 @@
1313
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
1414
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
1515

16-
<OutputType Condition="'$(TargetFramework)'!='net8.0'">Exe</OutputType>
16+
<OutputType Condition="'$(TargetFramework)'!='net9.0'">Exe</OutputType>
1717
<RootNamespace>PassXYZ.Vault</RootNamespace>
1818
<UseMaui>true</UseMaui>
19-
<MauiVersion>8.0.100</MauiVersion>
19+
<MauiVersion>9.0.110</MauiVersion>
2020
<SingleProject>true</SingleProject>
2121
<ImplicitUsings>enable</ImplicitUsings>
2222
<Nullable>enable</Nullable>
@@ -47,22 +47,22 @@
4747
<GenerateTemporaryStoreCertificate>True</GenerateTemporaryStoreCertificate>
4848
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
4949
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
50-
<AssemblyVersion>2.2.0.0</AssemblyVersion>
51-
<FileVersion>2.2.0.0</FileVersion>
50+
<AssemblyVersion>2.3.0.0</AssemblyVersion>
51+
<FileVersion>2.3.0.0</FileVersion>
5252
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
5353
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
5454
</PropertyGroup>
5555

56-
<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-ios'">
56+
<PropertyGroup Condition="'$(TargetFramework)'=='net9.0-ios'">
5757
<CodesignKey>Apple Development: Created via API (X8CY3Q3W4V)</CodesignKey>
5858
<CodesignProvision>VS: com.passxyz.vault2 Development</CodesignProvision>
5959
</PropertyGroup>
6060

61-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-android|AnyCPU'">
61+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net9.0-android|AnyCPU'">
6262
<AndroidKeyStore>False</AndroidKeyStore>
6363
</PropertyGroup>
6464

65-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-android|AnyCPU'">
65+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-android|AnyCPU'">
6666
<AndroidKeyStore>False</AndroidKeyStore>
6767
<AndroidPackageFormat>apk</AndroidPackageFormat>
6868
<DebugSymbols>True</DebugSymbols>
@@ -144,9 +144,9 @@
144144
<PackageReference Include="Camera.MAUI.ZXing" Version="1.0.0" />
145145
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
146146
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
147-
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
147+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
148148
<PackageReference Include="EJL.MauiHybridWebView" Version="1.0.0-preview4" />
149-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
149+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.9" />
150150
<PackageReference Include="Plugin.Fingerprint" Version="3.0.0-beta.1" />
151151
<PackageReference Include="Camera.MAUI" Version="1.5.1" />
152152
</ItemGroup>

PassXYZ.Vault/Views/ItemsPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Glyph={x:Static style:FontAwesomeSolid.PlusCircle}}"/>
2121
</ContentPage.ToolbarItems>
2222

23-
<RefreshView Command="{Binding LoadItemsCommand}" IsRefreshing="{Binding IsBusy, Mode=TwoWay}">
23+
<RefreshView Command="{Binding LoadItemsCommand}" IsRefreshing="{Binding IsBusy, Mode=OneWay}">
2424
<ScrollView>
2525
<ListView x:Name="itemsListView"
2626
ItemsSource="{Binding Items}"

0 commit comments

Comments
 (0)