2023-01-21 16:55:51 +00:00
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('OSX'))">$(TargetFrameworks);net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
|
|
|
|
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041.0</TargetFrameworks>
|
2023-01-21 16:55:51 +00:00
|
|
|
|
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<!-- <TargetFrameworks>$(TargetFrameworks);net8.0-tizen</TargetFrameworks> -->
|
2023-01-21 16:55:51 +00:00
|
|
|
|
<OutputType>Exe</OutputType>
|
|
|
|
|
<RootNamespace>Selector.MAUI</RootNamespace>
|
|
|
|
|
<UseMaui>true</UseMaui>
|
|
|
|
|
<SingleProject>true</SingleProject>
|
|
|
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
|
<EnableDefaultCssItems>false</EnableDefaultCssItems>
|
|
|
|
|
|
|
|
|
|
<!-- Display name -->
|
|
|
|
|
<ApplicationTitle>Selector</ApplicationTitle>
|
|
|
|
|
|
|
|
|
|
<!-- App Identifier -->
|
2023-01-26 19:08:59 +00:00
|
|
|
|
<ApplicationId>xyz.sarsoo.selector-maui</ApplicationId>
|
2023-01-21 16:55:51 +00:00
|
|
|
|
<ApplicationIdGuid>D33C256B-9FD7-4EA2-A675-C859295E71B2</ApplicationIdGuid>
|
|
|
|
|
|
|
|
|
|
<!-- Versions -->
|
|
|
|
|
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
|
|
|
|
<ApplicationVersion>1</ApplicationVersion>
|
|
|
|
|
|
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion>
|
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion>
|
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">24.0</SupportedOSPlatformVersion>
|
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
|
|
|
|
|
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
|
|
|
|
|
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-maccatalyst'">
|
2023-01-28 09:38:16 +00:00
|
|
|
|
<RuntimeIdentifier>maccatalyst-arm64</RuntimeIdentifier>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-ios|AnyCPU'">
|
2023-01-22 22:15:55 +00:00
|
|
|
|
<CreatePackage>false</CreatePackage>
|
2023-01-26 19:08:59 +00:00
|
|
|
|
<CodesignProvision>Automatic</CodesignProvision>
|
|
|
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
2023-01-28 09:38:16 +00:00
|
|
|
|
<!-- <CodesignEntitlements>Platforms\iOS\Entitlements.Debug.plist</CodesignEntitlements> -->
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</PropertyGroup>
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios|AnyCPU'">
|
2023-01-22 22:15:55 +00:00
|
|
|
|
<CreatePackage>false</CreatePackage>
|
2023-01-27 23:22:29 +00:00
|
|
|
|
<MtouchLink>None</MtouchLink>
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</PropertyGroup>
|
2023-01-23 20:24:41 +00:00
|
|
|
|
<!-- <PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst' and '$(Configuration)' == 'Debug'">
|
2023-01-22 22:15:55 +00:00
|
|
|
|
<CodeSignEntitlements>Platforms/MacCatalyst/Entitlements.Debug.plist</CodeSignEntitlements>
|
2023-01-23 20:24:41 +00:00
|
|
|
|
</PropertyGroup> -->
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net8.0-maccatalyst|AnyCPU'">
|
2023-01-23 20:24:41 +00:00
|
|
|
|
<CreatePackage>false</CreatePackage>
|
|
|
|
|
<CodesignKey>Mac Developer</CodesignKey>
|
|
|
|
|
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
|
|
|
|
<EnableCodeSigning>True</EnableCodeSigning>
|
|
|
|
|
<CodesignEntitlements>Platforms/MacCatalyst/Entitlements.Debug.plist</CodesignEntitlements>
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</PropertyGroup>
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-maccatalyst|AnyCPU'">
|
2023-01-27 23:22:29 +00:00
|
|
|
|
<CreatePackage>false</CreatePackage>
|
|
|
|
|
<CodesignKey>Mac Developer</CodesignKey>
|
|
|
|
|
<PackageSigningKey>3rd Party Mac Developer Installer</PackageSigningKey>
|
|
|
|
|
<EnableCodeSigning>True</EnableCodeSigning>
|
|
|
|
|
<MtouchLink>None</MtouchLink>
|
|
|
|
|
</PropertyGroup>
|
2023-01-21 16:55:51 +00:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<!-- App Icon -->
|
2023-01-26 19:08:59 +00:00
|
|
|
|
<MauiIcon Include="Resources\AppIcon\appicon.png" Color="#2b2b2b" />
|
2023-01-21 16:55:51 +00:00
|
|
|
|
|
|
|
|
|
<!-- Splash Screen -->
|
2023-01-26 19:08:59 +00:00
|
|
|
|
<MauiSplashScreen Include="Resources\Splash\splash.png" Color="#2b2b2b" />
|
2023-01-21 16:55:51 +00:00
|
|
|
|
|
|
|
|
|
<!-- Images -->
|
|
|
|
|
<MauiFont Include="Resources\Fonts\*" />
|
|
|
|
|
|
|
|
|
|
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
|
|
|
|
|
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
2023-11-16 17:49:24 +00:00
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
|
|
|
|
|
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
|
2023-01-22 22:15:55 +00:00
|
|
|
|
<!-- <PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.2" /> -->
|
2024-05-11 07:49:29 +01:00
|
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.Forms" Version="8.0.4" />
|
|
|
|
|
<PackageReference Include="Radzen.Blazor" Version="4.31.3" />
|
2023-01-21 16:55:51 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
2023-01-22 22:15:55 +00:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Remove="Services\" />
|
|
|
|
|
<None Remove="Microsoft.Extensions.Http" />
|
|
|
|
|
<None Remove="System.Net.Http.Json" />
|
|
|
|
|
<None Remove="NLog.Extensions.Logging" />
|
|
|
|
|
<None Remove="NLog" />
|
|
|
|
|
<None Remove="Microsoft.Extensions.Logging.Console" />
|
|
|
|
|
<None Remove="Models\" />
|
|
|
|
|
<None Remove="Microsoft.AspNetCore.SignalR.Client" />
|
|
|
|
|
<None Remove="Microsoft.AspNetCore.Components.Forms" />
|
2023-01-27 23:22:29 +00:00
|
|
|
|
<None Remove="Radzen.Blazor" />
|
2023-01-28 14:41:03 +00:00
|
|
|
|
<None Remove="Extensions\" />
|
2023-01-29 21:26:39 +00:00
|
|
|
|
<None Remove="Resources\Images\" />
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Folder Include="Services\" />
|
|
|
|
|
<Folder Include="Models\" />
|
2023-01-28 14:41:03 +00:00
|
|
|
|
<Folder Include="Extensions\" />
|
2023-01-29 21:26:39 +00:00
|
|
|
|
<Folder Include="Resources\Images\" />
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\Selector\Selector.csproj" />
|
|
|
|
|
<ProjectReference Include="..\Selector.SignalR\Selector.SignalR.csproj" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Content Remove="nlog.config" />
|
2023-01-29 21:26:39 +00:00
|
|
|
|
<Content Remove="wwwroot\appicon.png" />
|
2023-01-22 22:15:55 +00:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<!-- <None Include="nlog.config">
|
|
|
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
|
|
|
</None> -->
|
|
|
|
|
</ItemGroup>
|
2023-01-23 20:24:41 +00:00
|
|
|
|
<ItemGroup>
|
|
|
|
|
<BundleResource Include="wwwroot\andy.png">
|
|
|
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
|
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
|
|
|
</BundleResource>
|
|
|
|
|
<BundleResource Include="wwwroot\last_fm.png">
|
|
|
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
|
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
|
|
|
</BundleResource>
|
|
|
|
|
<BundleResource Include="wwwroot\live.gif">
|
|
|
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
|
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
|
|
|
</BundleResource>
|
|
|
|
|
<BundleResource Include="wwwroot\spotify_icon.png">
|
|
|
|
|
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
|
|
|
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
|
|
|
</BundleResource>
|
2023-01-29 21:26:39 +00:00
|
|
|
|
<BundleResource Include="wwwroot\appicon.png">
|
|
|
|
|
<Color>#2b2b2b</Color>
|
|
|
|
|
</BundleResource>
|
2023-01-23 20:24:41 +00:00
|
|
|
|
</ItemGroup>
|
2023-01-21 16:55:51 +00:00
|
|
|
|
</Project>
|