Skip to content

Commit c5c0f76

Browse files
committed
Testing fix 2
1 parent e521cb2 commit c5c0f76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

PowerSync/PowerSync.Common/PowerSync.Common.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios;net8.0-android</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net6.0;net8.0;net9.0;net8.0-ios18.0;net8.0-android</TargetFrameworks>
55
<LangVersion>12</LangVersion>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
@@ -21,6 +21,7 @@
2121
<PackageReadmeFile>README.md</PackageReadmeFile>
2222
<DefaultItemExcludes>$(DefaultItemExcludes);runtimes/**/*.*;</DefaultItemExcludes>
2323
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">13.0</SupportedOSPlatformVersion>
24+
<TargetPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">18.0</TargetPlatformVersion>
2425
</PropertyGroup>
2526

2627
<ItemGroup>
@@ -39,14 +40,14 @@
3940

4041
<!-- Check allows us to skip for all MAUI targets-->
4142
<!-- For monorepo-->
42-
<ItemGroup Condition="!$(TargetFramework.EndsWith('-android')) AND !$(TargetFramework.EndsWith('-ios'))">
43+
<ItemGroup Condition="!$(TargetFramework.Contains('-android')) AND !$(TargetFramework.Contains('-ios'))">
4344
<Content Include="runtimes\**\*.*">
4445
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
4546
</Content>
4647
</ItemGroup>
4748

4849
<!-- For releasing runtimes -->
49-
<ItemGroup Condition="!$(TargetFramework.EndsWith('-android')) AND !$(TargetFramework.EndsWith('-ios'))">
50+
<ItemGroup Condition="!$(TargetFramework.Contains('-android')) AND !$(TargetFramework.Contains('-ios'))">
5051
<None Include="runtimes\**\*.*" Pack="true" PackagePath="runtimes\" />
5152
</ItemGroup>
5253

0 commit comments

Comments
 (0)