Files
2025-12-10 21:59:12 -05:00

89 lines
5.0 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Include net9.0 for non-MAUI usage (API only) -->
<TargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.0-windows10.0.19041.0</TargetFrameworks>
<!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET -->
<!-- <TargetFrameworks>$(TargetFrameworks);net9.0-tizen</TargetFrameworks> -->
<UseMaui Condition="$(TargetFramework.Contains('-'))">true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageOutputPath>C:\Users\logik\Dropbox\Nugets</PackageOutputPath>
<RootNamespace>MarketAlly.Replicate.Maui</RootNamespace>
<AssemblyName>MarketAlly.Replicate.Maui</AssemblyName>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.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>
<!-- NuGet Package Properties -->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>MarketAlly.Replicate.Maui</PackageId>
<Title>MarketAlly Replicate.Maui - AI Image &amp; Video Generation for .NET</Title>
<Version>1.5.0</Version>
<Authors>MarketAlly</Authors>
<Company>MarketAlly</Company>
<Description>A production-ready .NET library for Replicate AI API integration. Generate AI images and videos using models like Stable Diffusion XL, HiDream, Google Veo 3, Kling, Luma Ray, and more. Includes ready-to-use MAUI controls for iOS, Android, Windows, and macOS, or use the API-only package for console apps, ASP.NET Core, and Blazor. Features: model presets, prediction tracking, BYOK support, localization (8 languages), and webhook integration.</Description>
<Copyright>Copyright © MarketAlly 2025</Copyright>
<PackageIcon>icon.png</PackageIcon>
<PackageTags>replicate;ai;image-generation;video-generation;stable-diffusion;maui;dotnet;api;machine-learning;generative-ai;sdxl;kling;veo;luma;hidream</PackageTags>
<PackageProjectUrl>https://github.com/MarketAlly/Replicate.Maui</PackageProjectUrl>
<RepositoryUrl>https://github.com/MarketAlly/Replicate.Maui</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>
Version 1.5.0:
- Added net9.0 target for API-only usage (console apps, ASP.NET Core, Blazor)
- Changed namespace to MarketAlly.Replicate.Maui
- Added localization support for 8 languages (en, es, fr, de, zh, ja, pt, it)
- Added overlay button position control (Top/Bottom)
- Added PredictionCreated event for immediate prediction tracking
- Added Google Veo 3 Fast model preset
- Improved prediction history with real-time status updates
</PackageReleaseNotes>
<RequireLicenseAcceptance>false</RequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<ItemGroup>
<None Include="icon.png">
<Pack>true</Pack>
<PackagePath>\</PackagePath>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>true</Visible>
</None>
<None Include="..\README.md" Pack="true" PackagePath="\" />
<!-- Core dependencies for all targets -->
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.11" />
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.11" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.11" />
</ItemGroup>
<!-- MAUI-specific dependencies (only for platform targets) -->
<ItemGroup Condition="$(TargetFramework.Contains('-'))">
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
<PackageReference Include="CommunityToolkit.Maui.MediaElement" Version="6.1.3" />
</ItemGroup>
<!-- Exclude MAUI-specific files from net9.0 build -->
<ItemGroup Condition="!$(TargetFramework.Contains('-'))">
<Compile Remove="Controls\**" />
<Compile Remove="ViewModels\**" />
<Compile Remove="Services\**" />
<Compile Remove="ServiceCollectionExtensions.cs" />
<None Remove="Controls\**" />
</ItemGroup>
</Project>