|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 |
| - |
| 2 | + |
3 | 3 | <PropertyGroup>
|
4 | 4 | <TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
5 | 5 | <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
|
|
15 | 15 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
16 | 16 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
17 | 17 | <Nullable>enable</Nullable>
|
18 |
| - <MauiVersion>8.0.14</MauiVersion> |
| 18 | + <MauiVersion>8.0.*</MauiVersion> |
19 | 19 | <PackageId>Yu-Core.MauiBlazorToolkit</PackageId>
|
20 | 20 | <Authors>Yu-Core</Authors>
|
21 | 21 | <Description>
|
|
28 | 28 | <PackageTags>MAUI;Maui;Blazor;Toolkit</PackageTags>
|
29 | 29 | <PackageLicenseFile>LICENSE</PackageLicenseFile>
|
30 | 30 | </PropertyGroup>
|
31 |
| - |
| 31 | + |
32 | 32 | <ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.iOS')) != true AND $(TargetFramework.StartsWith('net8.0-ios')) != true">
|
33 | 33 | <Compile Remove="**\**\*.ios.cs" />
|
34 | 34 | <None Include="**\**\*.ios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
35 | 35 | <Compile Remove="**\ios\**\*.cs" />
|
36 | 36 | <None Include="**\ios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
37 | 37 | </ItemGroup>
|
38 |
| - |
| 38 | + |
39 | 39 | <ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac')) != true AND $(TargetFramework.StartsWith('net8.0-maccatalyst')) != true">
|
40 | 40 | <Compile Remove="**\*.macos.cs" />
|
41 | 41 | <None Include="**\*.macos.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
42 | 42 | <Compile Remove="**\macos\**\*.cs" />
|
43 | 43 | <None Include="**\macos\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
44 | 44 | </ItemGroup>
|
45 |
| - |
| 45 | + |
46 | 46 | <ItemGroup Condition="$(TargetFramework.StartsWith('Xamarin.Mac')) != true AND $(TargetFramework.StartsWith('Xamarin.iOS')) != true AND $(TargetFramework.StartsWith('net8.0-ios')) != true AND $(TargetFramework.StartsWith('net8.0-maccatalyst')) != true">
|
47 | 47 | <Compile Remove="**\*.macios.cs" />
|
48 | 48 | <None Include="**\*.macios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
49 | 49 | <Compile Remove="**\macios\**\*.cs" />
|
50 | 50 | <None Include="**\macios\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
51 | 51 | </ItemGroup>
|
52 |
| - |
| 52 | + |
53 | 53 | <ItemGroup Condition="$(TargetFramework.StartsWith('MonoAndroid')) != true AND $(TargetFramework.StartsWith('net8.0-android')) != true ">
|
54 | 54 | <Compile Remove="**\**\*.android.cs" />
|
55 | 55 | <None Include="**\**\*.android.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
56 | 56 | <Compile Remove="**\android\**\*.cs" />
|
57 | 57 | <None Include="**\android\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
58 | 58 | </ItemGroup>
|
59 |
| - |
| 59 | + |
60 | 60 | <ItemGroup Condition="$(TargetFramework.Contains('-windows')) != true ">
|
61 | 61 | <Compile Remove="**\*.windows.cs" />
|
62 | 62 | <None Include="**\*.windows.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
63 | 63 | <Compile Remove="**\windows\**\*.cs" />
|
64 | 64 | <None Include="**\windows\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
65 | 65 | </ItemGroup>
|
66 |
| - |
| 66 | + |
67 | 67 | <ItemGroup Condition="$(TargetFramework.Contains('-tizen')) != true ">
|
68 | 68 | <Compile Remove="**\*.tizen.cs" />
|
69 | 69 | <None Include="**\*.tizen.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
70 | 70 | <Compile Remove="**\tizen\**\*.cs" />
|
71 | 71 | <None Include="**\tizen\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
72 | 72 | </ItemGroup>
|
73 |
| - |
| 73 | + |
74 | 74 | <ItemGroup Condition="!($(TargetFramework.StartsWith('net')) == true AND $(TargetFramework.EndsWith('.0')) == true AND $(TargetFramework.Contains('-')) != true)">
|
75 | 75 | <!-- e.g net6.0 or net7.0 -->
|
76 | 76 | <Compile Remove="**\*.net.cs" />
|
77 | 77 | <None Include="**\*.net.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
78 | 78 | <Compile Remove="**\net\**\*.cs" />
|
79 | 79 | <None Include="**\net\**\*.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
|
80 | 80 | </ItemGroup>
|
81 |
| - |
| 81 | + |
82 | 82 | <ItemGroup>
|
83 | 83 | <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
84 | 84 | <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
|
85 | 85 | </ItemGroup>
|
86 |
| - |
| 86 | + |
87 | 87 | <ItemGroup>
|
88 | 88 | <None Include="..\..\..\LICENSE">
|
89 | 89 | <Pack>True</Pack>
|
|
94 | 94 | <PackagePath>\</PackagePath>
|
95 | 95 | </None>
|
96 | 96 | </ItemGroup>
|
97 |
| - |
| 97 | + |
98 | 98 | </Project>
|
0 commit comments