|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | | - <PropertyGroup> |
4 | | - <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
5 | | - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.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);net8.0-tizen</TargetFrameworks> --> |
8 | | - <UseMaui>true</UseMaui> |
9 | | - <SingleProject>true</SingleProject> |
10 | | - <ImplicitUsings>enable</ImplicitUsings> |
11 | | - <Nullable>enable</Nullable> |
12 | | - |
13 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
14 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
15 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
16 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
17 | | - <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
18 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.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);net8.0-tizen</TargetFrameworks> --> |
| 8 | + <UseMaui>true</UseMaui> |
| 9 | + <SingleProject>true</SingleProject> |
| 10 | + <ImplicitUsings>enable</ImplicitUsings> |
| 11 | + <Nullable>enable</Nullable> |
| 12 | + |
| 13 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">15.0</SupportedOSPlatformVersion> |
| 14 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.0</SupportedOSPlatformVersion> |
| 15 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 16 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 17 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 18 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
19 | 19 |
|
20 | 20 | <!-- NuGet Package Properties --> |
21 | 21 | <PackageId>VoicevoxCoreSharp.MAUI</PackageId> |
|
26 | 26 | <RepositoryUrl>https://github.com/yamachu/VoicevoxCoreSharp</RepositoryUrl> |
27 | 27 | <PackageTags>voicevox;tts;maui</PackageTags> |
28 | 28 | <PackageReadmeFile>README.md</PackageReadmeFile> |
| 29 | + <PackageLicenseFile>LICENSE</PackageLicenseFile> |
29 | 30 |
|
30 | 31 | <DebugType>portable</DebugType> |
31 | 32 | <IncludeSymbols>true</IncludeSymbols> |
32 | 33 | <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
33 | 34 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
34 | 35 | <EmbedUntrackedSources>true</EmbedUntrackedSources> |
35 | | - </PropertyGroup> |
36 | | - |
37 | | - <ItemGroup> |
| 36 | + </PropertyGroup> |
| 37 | + |
| 38 | + <ItemGroup> |
38 | 39 | <ProjectReference Include="..\VoicevoxCoreSharp.Core\VoicevoxCoreSharp.Core.csproj"> |
39 | 40 | <PrivateAssets>None</PrivateAssets> |
40 | 41 | </ProjectReference> |
41 | 42 | </ItemGroup> |
42 | 43 |
|
43 | 44 | <ItemGroup> |
44 | 45 | <None Include="README.md" Pack="true" PackagePath="/" /> |
| 46 | + <None Include="../../LICENSE" Pack="true" PackagePath="/" /> |
45 | 47 | </ItemGroup> |
46 | 48 |
|
47 | 49 | <ItemGroup> |
48 | 50 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/> |
49 | | - </ItemGroup> |
50 | | - |
| 51 | + </ItemGroup> |
| 52 | + |
51 | 53 | <!-- https://blog.azyobuzi.net/2020/05/03/01-projectref/ --> |
52 | 54 | <!-- dotnet pack -p:CoreVersion=0.16.0 -p:PackageVersion=0.16.0 --> |
53 | 55 | <Target Name="SetDependencyVersion" AfterTargets="_GetProjectReferenceVersions"> |
|
56 | 58 | </ItemGroup> |
57 | 59 | </Target> |
58 | 60 |
|
59 | | -</Project> |
| 61 | +</Project> |
0 commit comments