Skip to content

Commit 7f8fe65

Browse files
committed
chore: Conditional build targets for linux
1 parent 1bb4461 commit 7f8fe65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/sdk/client/src/LaunchDarkly.ClientSdk.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
that doesn't have the MAUI tools installed. That is currently the case in
1111
the release phase where we build HTML documentation. -->
1212

13+
<BuildFrameworks Condition="'$(BUILDFRAMEWORKS)' == '' and $([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))">netstandard2.0;net8.0</BuildFrameworks>
1314
<BuildFrameworks Condition="'$(BUILDFRAMEWORKS)' == ''">netstandard2.0;net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0-windows</BuildFrameworks>
1415
<TargetFrameworks>$(BUILDFRAMEWORKS)</TargetFrameworks>
1516
<OutputType>Library</OutputType>

0 commit comments

Comments
 (0)