Commit 8d51a59
authored
chore: Conditional build targets for linux (#204)
When on linux this doesn't try to load the windows or mac targets. This
way shenanigans aren't needed to just load a solution on linux and work.
On the mac everything will load.
We could add something similar for windows, but currently nobody is
trying to work on the client SDK in windows.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> On Linux, only build `netstandard2.0` and `net8.0` by adding a
Linux-specific `BuildFrameworks` condition in the project file.
>
> - **Build configuration**:
> - Add Linux-specific `BuildFrameworks` in
`pkgs/sdk/client/src/LaunchDarkly.ClientSdk.csproj` to build only
`netstandard2.0;net8.0`, avoiding Android/iOS/Mac/Windows targets on
Linux.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
7824e8a. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 5fe3ca7 commit 8d51a59
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments