Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_avalonia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ jobs:
with:
name: Build Prism.Avalonia
solution-path: PrismLibrary_Avalonia.slnf
dotnet-version: 10.0.100
1 change: 1 addition & 0 deletions .github/workflows/build_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ jobs:
with:
name: Build Prism.Core
solution-path: PrismLibrary_Core.slnf
dotnet-version: 10.0.100
1 change: 1 addition & 0 deletions .github/workflows/build_maui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ jobs:
name: Build Prism.Maui
solution-path: PrismLibrary_Maui.slnf
install-workload: maui maui-tizen
dotnet-version: 10.0.100
6 changes: 3 additions & 3 deletions .github/workflows/build_uno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
windows-sdk-version: 18362
dotnet-version: 8.0.300
install-workload: ios android macos maccatalyst wasm-tools
dotnet-version: 10.0.100
install-workload: ios android macos maccatalyst wasm-tools tvos
uno-check: false
uno-check-version: 1.25.1
uno-check-version: 1.33.1
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip androidemulator --skip androidsdk --skip vsmac --skip dotnetnewunotemplates'
run-tests: false
1 change: 1 addition & 0 deletions .github/workflows/build_wpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ jobs:
with:
name: Build Prism.Wpf
solution-path: PrismLibrary_Wpf.slnf
dotnet-version: 10.0.100
22 changes: 13 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
with:
name: Build Prism.Core
solution-path: PrismLibrary_Core.slnf
code-sign: true
code-sign: false
artifact-name: Core
dotnet-version: 10.0.100
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -43,8 +44,9 @@ jobs:
with:
name: Build Prism.Wpf
solution-path: PrismLibrary_Wpf.slnf
code-sign: true
code-sign: false
artifact-name: Wpf
dotnet-version: 10.0.100
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -58,13 +60,13 @@ jobs:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
windows-sdk-version: 18362
dotnet-version: 8.0.300
install-workload: ios android macos maccatalyst wasm-tools
dotnet-version: 10.0.100
install-workload: ios android macos maccatalyst wasm-tools tvos
uno-check: false
uno-check-version: 1.24.0
uno-check-version: 1.33.1
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip androidemulator --skip androidsdk --skip vsmac --skip dotnetnewunotemplates'
run-tests: false
code-sign: true
code-sign: false
artifact-name: Uno
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
Expand All @@ -79,8 +81,9 @@ jobs:
name: Build Prism.Maui
solution-path: PrismLibrary_Maui.slnf
install-workload: maui maui-tizen
code-sign: true
code-sign: false
artifact-name: Maui
dotnet-version: 10.0.100
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -93,8 +96,9 @@ jobs:
with:
name: Build Prism.Avalonia
solution-path: PrismLibrary_Avalonia.slnf
code-sign: true
code-sign: false
artifact-name: Avalonia
dotnet-version: 10.0.100
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand Down Expand Up @@ -167,4 +171,4 @@ jobs:
name: Deploy Commercial Plus
secrets:
feedUrl: ${{ secrets.PRISM_NUGET_FEED }}
apiKey: ${{ secrets.PRISM_NUGET_TOKEN }}
apiKey: ${{ secrets.PRISM_NUGET_TOKEN }}
66 changes: 35 additions & 31 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,62 +10,66 @@
<PackageVersion Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.122" />
</ItemGroup>
<!-- Maui -->
<ItemGroup Condition=" $(UseMaui) == 'true' ">
<PackageVersion Include="Microsoft.Maui.Controls" Version="8.0.20" Condition="$(MSBuildProjectName.StartsWith('Prism.'))" />
<!--<ItemGroup Condition=" $(UseMaui) == 'true' ">
<PackageVersion Include="Microsoft.Maui.Controls" Version="9.0.110"
Condition="$(MSBuildProjectName.StartsWith('Prism.')) AND $(TargetFramework.StartsWith('net9.0'))" />
<PackageVersion Include="Microsoft.Maui.Controls" Version="10.0.10"
Condition="$(MSBuildProjectName.StartsWith('Prism.')) AND $(TargetFramework.StartsWith('net10.0'))" />
<PackageVersion Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" Condition="!$(MSBuildProjectName.StartsWith('Prism.'))" />
</ItemGroup>
</ItemGroup>-->
<!-- Uno
Note that the $(UnoVersion) comes from the Uno.Sdk. You should not update it manually. To update the version of Uno,
you should instead update the Sdk version in the global.json file.

See https://aka.platform.uno/upgrade-uno-packages for more information.
-->
<ItemGroup Condition=" $(IsUnoProject) == 'true' ">
<PackageVersion Include="Uno.Extensions.Markup.Generators" Version="5.3.12" />
<PackageVersion Include="Uno.WinUI.Markup" Version="5.3.12" />
<PackageVersion Include="Uno.Extensions.Markup.Generators" Version="6.4.11" />
<PackageVersion Include="Uno.WinUI.Markup" Version="6.4.11" />
<PackageVersion Include="Uno.WinUI" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Lottie" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Gtk" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Linux.FrameBuffer" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.Skia.Wpf" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.Wasm.Bootstrap" Version="8.0.20" />
<PackageVersion Include="Uno.Wasm.Bootstrap.DevServer" Version="8.0.20" />
<PackageVersion Include="Uno.Wasm.Bootstrap" Version="9.0.20" />
<PackageVersion Include="Uno.Wasm.Bootstrap.DevServer" Version="9.0.20" />
<PackageVersion Include="Uno.WinUI.WebAssembly" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.WinUI.DevServer" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.UI.Adapter.Microsoft.Extensions.Logging" Version="$(UnoVersion)" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.0.1" />
<PackageVersion Include="Uno.Core.Extensions.Logging.Singleton" Version="4.1.1" />
<PackageVersion Include="Uno.Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.4.2" />
<PackageVersion Include="Microsoft.Xaml.Behaviors.WinUI.Managed" Version="2.0.9" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.2.221109.1" Condition="$(MSBuildProjectName.Contains('Prism'))" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.4.240211001" Condition="!$(MSBuildProjectName.Contains('Prism'))" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.2428" />
<PackageVersion Include="SkiaSharp.Views.Uno.WinUI" Version="2.88.7" />
<PackageVersion Include="SkiaSharp.Skottie" Version="2.88.7" />
<PackageVersion Include="Uno.Resizetizer" Version="1.4.10" />
<PackageVersion Include="Microsoft.WindowsAppSDK" Version="1.7.250909003" Condition="!$(MSBuildProjectName.Contains('Prism'))" />
<PackageVersion Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.6901" />
<PackageVersion Include="SkiaSharp.Views.Uno.WinUI" Version="3.119.1" />
<PackageVersion Include="SkiaSharp.Skottie" Version="3.119.1" />
<PackageVersion Include="Uno.Resizetizer" Version="1.12.1" />
<PackageVersion Include="Uno.Extensions.Logging.OSLog" Version="1.7.0" />
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="4.1.24" />
<PackageVersion Include="Uno.Extensions.Logging.Serilog" Version="4.1.24" />
<PackageVersion Include="Uno.Extensions.Logging.WinUI" Version="7.0.4" />
<PackageVersion Include="Uno.Extensions.Logging.Serilog" Version="7.0.4" />
<PackageVersion Include="Uno.Extensions.Logging.WebAssembly.Console" Version="1.7.0" />
<PackageVersion Include="Uno.Material.WinUI" Version="5.0.13" />
<PackageVersion Include="Uno.Toolkit.WinUI.Material" Version="6.0.24" />
<PackageVersion Include="Uno.Toolkit.WinUI" Version="6.0.24" />
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="4.2.2" />
<PackageVersion Include="Uno.Material.WinUI" Version="6.0.2" />
<PackageVersion Include="Uno.Toolkit.WinUI.Material" Version="8.3.2" />
<PackageVersion Include="Uno.Toolkit.WinUI" Version="8.3.2" />
<PackageVersion Include="Uno.Extensions.Hosting.WinUI" Version="7.0.4" />
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.10.0.3" />
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.36" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.12.0.4" />
<PackageVersion Include="Xamarin.Google.Android.Material" Version="1.12.0.5" Condition="$(TargetFramework.StartsWith('net10.0'))" />
<PackageVersion Include="Uno.UniversalImageLoader" Version="1.9.37" />
<PackageVersion Include="Microsoft.Windows.Compatibility" Version="8.0.0" />
</ItemGroup>
<!-- Avalonia -->
<ItemGroup Condition=" $(IsAvaloniaProject) == 'true' ">
<PackageVersion Include="Avalonia" Version="11.3.5" />
<PackageVersion Include="Avalonia.Desktop" Version="11.3.5" />
<PackageVersion Include="Avalonia.Diagnostics" Version="11.3.5" />
<PackageVersion Include="Avalonia.LinuxFramebuffer" Version="11.3.5" />
<PackageVersion Include="Avalonia.Markup.Xaml.Loader" Version="11.3.5" />
<PackageVersion Include="Avalonia.Themes.Simple" Version="11.3.5" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.3.5" />
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.3.5" />
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
<PackageVersion Include="Avalonia" Version="11.3.8" />
<PackageVersion Include="Avalonia.Desktop" Version="11.3.8" />
<PackageVersion Include="Avalonia.Diagnostics" Version="11.3.8" />
<PackageVersion Include="Avalonia.LinuxFramebuffer" Version="11.3.8" />
<PackageVersion Include="Avalonia.Markup.Xaml.Loader" Version="11.3.8" />
<PackageVersion Include="Avalonia.Themes.Simple" Version="11.3.8" />
<PackageVersion Include="Avalonia.Themes.Fluent" Version="11.3.8" />
<PackageVersion Include="Avalonia.Fonts.Inter" Version="11.3.8" />
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="10.0.0" />
<PackageVersion Include="System.CodeDom" Version="8.0.0" />
</ItemGroup>
<!-- Tests -->
Expand Down Expand Up @@ -96,7 +100,7 @@
<ItemGroup>
<!-- Global Packages -->
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.6.141" />
<PackageVersion Include="Nerdbank.GitVersioning" Version="3.9.50" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion e2e/Avalonia/PrismAvaloniaDemo/PrismAvaloniaDemo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
Expand Down
2 changes: 1 addition & 1 deletion e2e/Maui/MauiModule/MauiModule.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<UseMaui>true</UseMaui>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion e2e/Maui/MauiRegionsModule/MauiRegionsModule.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<UseMaui>true</UseMaui>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions e2e/Maui/PrismMauiDemo/PrismMauiDemo.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net8.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net10.0-windows10.0.19041</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>PrismMauiDemo</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down
2 changes: 1 addition & 1 deletion e2e/Uno/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<DotNetVersion>net8.0</DotNetVersion>
<DotNetVersion>net10.0</DotNetVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsUnoProject>true</IsUnoProject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net6.0-windows;net462</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net462</TargetFrameworks>
<UseWPF>true</UseWPF>
<RootNamespace>HelloWorld</RootNamespace>
<ApplicationIcon>..\HelloWorld\prism-sandbox.ico</ApplicationIcon>
Expand Down
2 changes: 1 addition & 1 deletion e2e/Wpf/HelloWorld.Core/HelloWorld.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net6.0-windows;net462</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net462</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion e2e/Wpf/HelloWorld/HelloWorld.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net6.0-windows;net462</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net462</TargetFrameworks>
<UseWPF>true</UseWPF>
<RootNamespace>HelloWorld</RootNamespace>
<AssemblyName>HelloWorld</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net6.0-windows;net462</TargetFrameworks>
<TargetFrameworks>net10.0-windows;net462</TargetFrameworks>
<UseWPF>true</UseWPF>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "3.7.56",
"MSBuild.Sdk.Extras": "3.0.44",
"Uno.Sdk": "5.3.31"
"Uno.Sdk": "6.4.20"
}
}
8 changes: 4 additions & 4 deletions src/Avalonia/Prism.Avalonia/Prism.Avalonia.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<PropertyGroup>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Prism</RootNamespace>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<Description>Prism.Avalonia is a fully open source version of the Prism guidance originally produced by Microsoft Patterns &amp; Practices. Prism.Avalonia provides an implementation of a collection of design patterns that are helpful in writing well structured, maintainable, and testable XAML applications, including MVVM, dependency injection, commanding, event aggregation, and more. Prism's core functionality is a shared library targeting the .NET Framework and .NET Standard. Features that need to be platform specific are implemented in the respective libraries for the target platform (Avalonia, WPF, Uno Platform, and Xamarin Forms).

Prism.Avalonia helps you more easily design and build rich, flexible, and easy to maintain cross-platform Avalonia desktop applications. This library provides user interface composition as well as modularity support.</Description>

<Title>Prism.Avalonia</Title>
</PropertyGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
<!--<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
<Compile Remove="**\*.netcore.cs" />
<None Include="**\*.netcore.cs" />
<Reference Include="System.Configuration" />
</ItemGroup>
</ItemGroup>-->

<ItemGroup>
<Compile Include="..\..\Wpf\Prism.Wpf\Common\MvvmHelpers.cs" LinkBase="Common" />
Expand All @@ -37,7 +37,7 @@ Prism.Avalonia helps you more easily design and build rich, flexible, and easy t
<Using Include="Prism.Extensions" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netcore')) OR $(TargetFramework.StartsWith('net6')) OR $(TargetFramework.StartsWith('net7')) OR $(TargetFramework.StartsWith('net8'))">
<ItemGroup>
<Compile Remove="**\*.net45.cs" />
<None Include="**\*.net45.cs" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

<PropertyGroup>
<RootNamespace>Prism.DryIoc</RootNamespace>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<Description>This extension is used to build Prism.Avalonia applications based on DryIoc. Users must install the Prism.Avalonia NuGet package as well.</Description>
<Authors>Damian Suess, Suess Labs, various contributors</Authors>
<Copyright>Copyright (c) 2024 Xeno Innovations, Inc.</Copyright>
<Title>Prism.DryIoc.Avalonia</Title>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>prism;mvvm;xaml;avalonia;dryioc;dependencyinjection;navigation;dialog;prismavalonia;</PackageTags>
Expand Down
5 changes: 3 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@
</Choose>

<PropertyGroup Condition=" $(IsUnoProject) ">
<UnoTargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-macos</UnoTargetFrameworks>
<UnoTargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(UnoTargetFrameworks);net8.0-windows10.0.19041</UnoTargetFrameworks>
<UnoTargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-tvos;net9.0-desktop;net9.0-browserwasm</UnoTargetFrameworks>
<UnoTargetFrameworks>$(UnoTargetFrameworks);net10.0;net10.0-android;net10.0-ios;net10.0-tvos;net10.0-desktop;net10.0-browserwasm</UnoTargetFrameworks>
<UnoTargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(UnoTargetFrameworks);net9.0-windows10.0.19041;net10.0-windows10.0.19041</UnoTargetFrameworks>
<RuntimeIdentifiers Condition="$(TargetFramework.Contains('windows10'))">win-x64;win-x86;win-arm64</RuntimeIdentifiers>
</PropertyGroup>

Expand Down
16 changes: 14 additions & 2 deletions src/Maui/Prism.DryIoc.Maui/Prism.DryIoc.Maui.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<UseMaui>true</UseMaui>
<ImplicitUsings>true</ImplicitUsings>
Expand All @@ -10,11 +10,23 @@

<ItemGroup>
<PackageReference Include="Prism.Container.DryIoc" />
<PackageReference Include="Microsoft.Maui.Controls" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Prism.Maui\Prism.Maui.csproj" />
</ItemGroup>

<Choose>
<When Condition="$(TargetFramework.StartsWith('net9'))">
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" VersionOverride="9.0.110" />
</ItemGroup>
</When>
<When Condition="$(TargetFramework.StartsWith('net10'))">
<ItemGroup>
<PackageReference Include="Microsoft.Maui.Controls" VersionOverride="10.0.10" />
</ItemGroup>
</When>
</Choose>

</Project>
Loading
Loading