LaunchDarkly has published an SDK contributor's guide that provides a detailed explanation of how our SDKs work. See below for additional information on how to contribute to this SDK.
The LaunchDarkly SDK team monitors the issue tracker in the SDK repository. Bug reports and feature requests specific to this SDK should be filed in this issue tracker. The SDK team will respond to all newly filed issues within two business days.
We encourage pull requests and other contributions from the community. Before submitting pull requests, ensure that all temporary or unintended code is removed. Don't worry about adding reviewers to the pull request; the LaunchDarkly SDK team will add themselves. The SDK team will acknowledge all pull requests within two business days.
To set up your SDK build time environment, you must download .NET development tools and follow the instructions.
The AI SDK wraps the Server-Side SDK.
To install all required packages:
dotnet restoreThen, to build the SDK for all target frameworks:
dotnet build src/LaunchDarkly.ServerSdk.AiOr, in Linux:
makeOr, to build for only one target framework (in this example, .NET Standard 2.0):
dotnet build src/LaunchDarkly.ServerSdk.Ai -f netstandard2.0To run all unit tests:
dotnet test test/LaunchDarkly.ServerSdk.Ai.Tests/LaunchDarkly.ServerSdk.Ai.Tests.csprojOr, in Linux:
make testNote that the unit tests can only be run in Debug configuration. There is an InternalsVisibleTo directive that allows the test code to access internal members of the library, and assembly strong-naming in the Release configuration interferes with this.
All public types, methods, and properties should have documentation comments in the standard C# XML comment format. These will be automatically included in the documentation that is generated on release; this process also uses additional Markdown content from the respective packages docs-src/ subdirectory.
See docs-src/README.md for more details.