Skip to content

Commit

Permalink
Make OneSignalSDK.DotNet have a platform-specific target frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
brismithers committed Dec 14, 2023
1 parent 98d1bdf commit ad41857
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<TargetFrameworks>net7.0-ios;net8.0-ios</TargetFrameworks>
<TargetFrameworks>net7.0-ios</TargetFrameworks>
<ImplicitUsings>true</ImplicitUsings>
<IsBindingProject>true</IsBindingProject>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
Expand Down
4 changes: 2 additions & 2 deletions OneSignalSDK.DotNet.iOS/OneSignalSDK.DotNet.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5FF66A21-BA7B-48FD-8A7D-6A1092066306}</ProjectGuid>
<TargetFrameworks>net7.0-ios;net8.0-ios</TargetFrameworks>
<TargetFrameworks>net7.0-ios</TargetFrameworks>
<ImplicitUsings>true</ImplicitUsings>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<SupportedOSPlatformVersion>11.0</SupportedOSPlatformVersion>
Expand Down Expand Up @@ -37,7 +37,7 @@
<MtouchLink>SdkOnly</MtouchLink>
<CreatePackage>false</CreatePackage>
</PropertyGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('net7.0-ios')) ">
<ItemGroup Condition=" $(TargetFramework.StartsWith('net8.0-ios')) ">
<Reference Include="Microsoft.iOS" />
</ItemGroup>
<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions OneSignalSDK.DotNet/OneSignalSDK.DotNet.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks>net7.0-android;net7.0-ios</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\OneSignalSDK.DotNet.Core\OneSignalSDK.DotNet.Core.csproj" />
<ProjectReference Include="..\OneSignalSDK.DotNetSDK.Android\OneSignalSDK.DotNetSDK.Android.csproj" Condition=" $(TargetFramework.StartsWith('net7.0-android')) " />
<ProjectReference Include="..\OneSignalSDK.DotNetSDK.iOS\OneSignalSDK.DotNetSDK.iOS.csproj" Condition=" $(TargetFramework.StartsWith('net7.0-ios')) " />
<ProjectReference Include="..\OneSignalSDK.DotNet.Android\OneSignalSDK.DotNet.Android.csproj" Condition=" $(TargetFramework.StartsWith('net7.0-android')) " />
<ProjectReference Include="..\OneSignalSDK.DotNet.iOS\OneSignalSDK.DotNet.iOS.csproj" Condition=" $(TargetFramework.StartsWith('net7.0-ios')) " />
</ItemGroup>

</Project>

0 comments on commit ad41857

Please sign in to comment.