|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net10.0-android;net10.0-ios;net10.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net10.0-windows10.0.19041.0</TargetFrameworks> |
| 6 | + <!-- 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);net10.0-tizen</TargetFrameworks> --> |
| 8 | + |
| 9 | + <!-- Note for MacCatalyst: |
| 10 | + The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64. |
| 11 | + When specifying both architectures, use the plural <RuntimeIdentifiers> instead of the singular <RuntimeIdentifier>. |
| 12 | + The Mac App Store will NOT accept apps with ONLY maccatalyst-arm64 indicated; |
| 13 | + either BOTH runtimes must be indicated or ONLY macatalyst-x64. --> |
| 14 | + <!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> --> |
| 15 | + |
| 16 | + <OutputType>Exe</OutputType> |
| 17 | + <RootNamespace>CollectionViewDemos</RootNamespace> |
| 18 | + <UseMaui>true</UseMaui> |
| 19 | + <SingleProject>true</SingleProject> |
| 20 | + <ImplicitUsings>enable</ImplicitUsings> |
| 21 | + <MauiEnableXamlCBindingWithSourceCompilation>true</MauiEnableXamlCBindingWithSourceCompilation> |
| 22 | + |
| 23 | + <!-- Display name --> |
| 24 | + <ApplicationTitle>CollectionViewDemos</ApplicationTitle> |
| 25 | + |
| 26 | + <!-- App Identifier --> |
| 27 | + <ApplicationId>com.companyname.collectionviewdemos</ApplicationId> |
| 28 | + |
| 29 | + <!-- Versions --> |
| 30 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 31 | + <ApplicationVersion>1</ApplicationVersion> |
| 32 | + |
| 33 | + <!-- To develop, package, and publish an app to the Microsoft Store, see: https://aka.ms/MauiTemplateUnpackaged --> |
| 34 | + <WindowsPackageType>None</WindowsPackageType> |
| 35 | + |
| 36 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 37 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
| 38 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 39 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 40 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 41 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 42 | + </PropertyGroup> |
| 43 | + |
| 44 | + <ItemGroup> |
| 45 | + <!-- App Icon --> |
| 46 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
| 47 | + |
| 48 | + <!-- Splash Screen --> |
| 49 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
| 50 | + |
| 51 | + <!-- Images --> |
| 52 | + <MauiImage Include="Resources\Images\*" /> |
| 53 | + <MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185" /> |
| 54 | + |
| 55 | + <!-- Custom Fonts --> |
| 56 | + <MauiFont Include="Resources\Fonts\*" /> |
| 57 | + |
| 58 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 59 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 60 | + </ItemGroup> |
| 61 | + |
| 62 | + <ItemGroup> |
| 63 | + <MauiXaml Update="Controls\SpacingModifier.xaml"> |
| 64 | + <Generator>MSBuild:Compile</Generator> |
| 65 | + </MauiXaml> |
| 66 | + <MauiXaml Update="Views\EmptyView\EmptyViewDataTemplateSelectorPage.xaml"> |
| 67 | + <Generator>MSBuild:Compile</Generator> |
| 68 | + </MauiXaml> |
| 69 | + <MauiXaml Update="Views\EmptyView\EmptyViewFilteredPage.xaml"> |
| 70 | + <Generator>MSBuild:Compile</Generator> |
| 71 | + </MauiXaml> |
| 72 | + <MauiXaml Update="Views\EmptyView\EmptyViewLoadSimulationPage.xaml"> |
| 73 | + <Generator>MSBuild:Compile</Generator> |
| 74 | + </MauiXaml> |
| 75 | + <MauiXaml Update="Views\EmptyView\EmptyViewNullPage.xaml"> |
| 76 | + <Generator>MSBuild:Compile</Generator> |
| 77 | + </MauiXaml> |
| 78 | + <MauiXaml Update="Views\EmptyView\EmptyViewSwapPage.xaml"> |
| 79 | + <Generator>MSBuild:Compile</Generator> |
| 80 | + </MauiXaml> |
| 81 | + <MauiXaml Update="Views\EmptyView\EmptyViewTemplatePage.xaml"> |
| 82 | + <Generator>MSBuild:Compile</Generator> |
| 83 | + </MauiXaml> |
| 84 | + <MauiXaml Update="Views\EmptyView\EmptyViewWithViewsFilteredPage.xaml"> |
| 85 | + <Generator>MSBuild:Compile</Generator> |
| 86 | + </MauiXaml> |
| 87 | + <MauiXaml Update="Views\Grouping\VerticalListEmptyGroupsPage.xaml"> |
| 88 | + <Generator>MSBuild:Compile</Generator> |
| 89 | + </MauiXaml> |
| 90 | + <MauiXaml Update="Views\Grouping\VerticalListGroupingPage.xaml"> |
| 91 | + <Generator>MSBuild:Compile</Generator> |
| 92 | + </MauiXaml> |
| 93 | + <MauiXaml Update="Views\Grouping\VerticalListGroupingVariableSizeItemsPage.xaml"> |
| 94 | + <Generator>MSBuild:Compile</Generator> |
| 95 | + </MauiXaml> |
| 96 | + <MauiXaml Update="Views\Grouping\VerticalListTextGroupingPage.xaml"> |
| 97 | + <Generator>MSBuild:Compile</Generator> |
| 98 | + </MauiXaml> |
| 99 | + <MauiXaml Update="Views\HeadersAndFooters\HorizontalGridHeaderFooterViewPage.xaml"> |
| 100 | + <Generator>MSBuild:Compile</Generator> |
| 101 | + </MauiXaml> |
| 102 | + <MauiXaml Update="Views\HeadersAndFooters\VerticalListHeaderFooterDataTemplatePage.xaml"> |
| 103 | + <Generator>MSBuild:Compile</Generator> |
| 104 | + </MauiXaml> |
| 105 | + <MauiXaml Update="Views\HeadersAndFooters\VerticalListHeaderFooterStringPage.xaml"> |
| 106 | + <Generator>MSBuild:Compile</Generator> |
| 107 | + </MauiXaml> |
| 108 | + <MauiXaml Update="Views\HeadersAndFooters\VerticalListHeaderFooterViewPage.xaml"> |
| 109 | + <Generator>MSBuild:Compile</Generator> |
| 110 | + </MauiXaml> |
| 111 | + <MauiXaml Update="Views\Layout\HorizontalGridPage.xaml"> |
| 112 | + <Generator>MSBuild:Compile</Generator> |
| 113 | + </MauiXaml> |
| 114 | + <MauiXaml Update="Views\Layout\HorizontalGridTextPage.xaml"> |
| 115 | + <Generator>MSBuild:Compile</Generator> |
| 116 | + </MauiXaml> |
| 117 | + <MauiXaml Update="Views\Layout\HorizontalListPage.xaml"> |
| 118 | + <Generator>MSBuild:Compile</Generator> |
| 119 | + </MauiXaml> |
| 120 | + <MauiXaml Update="Views\Layout\HorizontalListTextPage.xaml"> |
| 121 | + <Generator>MSBuild:Compile</Generator> |
| 122 | + </MauiXaml> |
| 123 | + <MauiXaml Update="Views\Layout\VerticalGridPage.xaml"> |
| 124 | + <Generator>MSBuild:Compile</Generator> |
| 125 | + </MauiXaml> |
| 126 | + <MauiXaml Update="Views\Layout\VerticalGridTextPage.xaml"> |
| 127 | + <Generator>MSBuild:Compile</Generator> |
| 128 | + </MauiXaml> |
| 129 | + <MauiXaml Update="Views\Layout\VerticalListDataTemplateSelectorPage.xaml"> |
| 130 | + <Generator>MSBuild:Compile</Generator> |
| 131 | + </MauiXaml> |
| 132 | + <MauiXaml Update="Views\Layout\VerticalListPage.xaml"> |
| 133 | + <Generator>MSBuild:Compile</Generator> |
| 134 | + </MauiXaml> |
| 135 | + <MauiXaml Update="Views\Layout\VerticalListRTLPage.xaml"> |
| 136 | + <Generator>MSBuild:Compile</Generator> |
| 137 | + </MauiXaml> |
| 138 | + <MauiXaml Update="Views\Layout\VerticalListTextPage.xaml"> |
| 139 | + <Generator>MSBuild:Compile</Generator> |
| 140 | + </MauiXaml> |
| 141 | + <MauiXaml Update="Views\MainPage.xaml"> |
| 142 | + <Generator>MSBuild:Compile</Generator> |
| 143 | + </MauiXaml> |
| 144 | + <MauiXaml Update="Views\PullToRefresh\HorizontalGridPullToRefreshPage.xaml"> |
| 145 | + <Generator>MSBuild:Compile</Generator> |
| 146 | + </MauiXaml> |
| 147 | + <MauiXaml Update="Views\PullToRefresh\VerticalListPullToRefreshPage.xaml"> |
| 148 | + <Generator>MSBuild:Compile</Generator> |
| 149 | + </MauiXaml> |
| 150 | + <MauiXaml Update="Views\Scrolling\IncrementalLoadingPage.xaml"> |
| 151 | + <Generator>MSBuild:Compile</Generator> |
| 152 | + </MauiXaml> |
| 153 | + <MauiXaml Update="Views\Scrolling\ItemsUpdatingScrollModePage.xaml"> |
| 154 | + <Generator>MSBuild:Compile</Generator> |
| 155 | + </MauiXaml> |
| 156 | + <MauiXaml Update="Views\Scrolling\ScrollToByIndexPage.xaml"> |
| 157 | + <Generator>MSBuild:Compile</Generator> |
| 158 | + </MauiXaml> |
| 159 | + <MauiXaml Update="Views\Scrolling\ScrollToByIndexWithGroupingPage.xaml"> |
| 160 | + <Generator>MSBuild:Compile</Generator> |
| 161 | + </MauiXaml> |
| 162 | + <MauiXaml Update="Views\Scrolling\ScrollToByObjectPage.xaml"> |
| 163 | + <Generator>MSBuild:Compile</Generator> |
| 164 | + </MauiXaml> |
| 165 | + <MauiXaml Update="Views\Scrolling\ScrollToByObjectWithGroupingPage.xaml"> |
| 166 | + <Generator>MSBuild:Compile</Generator> |
| 167 | + </MauiXaml> |
| 168 | + <MauiXaml Update="Views\Selection\VerticalListMultiplePreSelectionPage.xaml"> |
| 169 | + <Generator>MSBuild:Compile</Generator> |
| 170 | + </MauiXaml> |
| 171 | + <MauiXaml Update="Views\Selection\VerticalListMultipleSelectionPage.xaml"> |
| 172 | + <Generator>MSBuild:Compile</Generator> |
| 173 | + </MauiXaml> |
| 174 | + <MauiXaml Update="Views\Selection\VerticalListSelectionColorPage.xaml"> |
| 175 | + <Generator>MSBuild:Compile</Generator> |
| 176 | + </MauiXaml> |
| 177 | + <MauiXaml Update="Views\Selection\VerticalListSinglePreSelectionPage.xaml"> |
| 178 | + <Generator>MSBuild:Compile</Generator> |
| 179 | + </MauiXaml> |
| 180 | + <MauiXaml Update="Views\Selection\VerticalListSingleSelectionPage.xaml"> |
| 181 | + <Generator>MSBuild:Compile</Generator> |
| 182 | + </MauiXaml> |
| 183 | + <MauiXaml Update="Views\Sizing\VerticalListDynamicSizeItemsPage.xaml"> |
| 184 | + <Generator>MSBuild:Compile</Generator> |
| 185 | + </MauiXaml> |
| 186 | + <MauiXaml Update="Views\Sizing\VerticalListVariableSizeItemsPage.xaml"> |
| 187 | + <Generator>MSBuild:Compile</Generator> |
| 188 | + </MauiXaml> |
| 189 | + <MauiXaml Update="Views\SnapPoints\VerticalListSnapPointsPage.xaml"> |
| 190 | + <Generator>MSBuild:Compile</Generator> |
| 191 | + </MauiXaml> |
| 192 | + <MauiXaml Update="Views\Spacing\HorizontalGridSpacingPage.xaml"> |
| 193 | + <Generator>MSBuild:Compile</Generator> |
| 194 | + </MauiXaml> |
| 195 | + <MauiXaml Update="Views\Spacing\HorizontalListSpacingPage.xaml"> |
| 196 | + <Generator>MSBuild:Compile</Generator> |
| 197 | + </MauiXaml> |
| 198 | + <MauiXaml Update="Views\Spacing\VerticalGridSpacingPage.xaml"> |
| 199 | + <Generator>MSBuild:Compile</Generator> |
| 200 | + </MauiXaml> |
| 201 | + <MauiXaml Update="Views\Spacing\VerticalListSpacingPage.xaml"> |
| 202 | + <Generator>MSBuild:Compile</Generator> |
| 203 | + </MauiXaml> |
| 204 | + <MauiXaml Update="Views\Swipe\VerticalListSwipeContextItemsPage.xaml"> |
| 205 | + <Generator>MSBuild:Compile</Generator> |
| 206 | + </MauiXaml> |
| 207 | + </ItemGroup> |
| 208 | + |
| 209 | + <ItemGroup> |
| 210 | + <PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" /> |
| 211 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="10.0.0-preview.3.25171.5" /> |
| 212 | + </ItemGroup> |
| 213 | + |
| 214 | +</Project> |
0 commit comments