get_nuget_packages_snippet
Get .csproj snippet with required NuGet packages for a specific deployment scenario. Returns XML snippet ready to copy-paste into your project file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdkType | Yes | SDK type, required. VideoCapture for camera/screen/IP-camera recording, MediaPlayer for playback, VideoEdit for timeline editing — those are the three products. MediaBlocks is the low-level pipeline layer, for custom source-to-encoder graphs only; do not pick it for an ordinary capture, playback or editing app. | |
| platform | Yes | Target platform, required. One of: Windows, Linux, macOS, Android, iOS, macCatalyst. | |
| projectType | Yes | Project type, required. One of: WPF, WinForms, WinUI, Console, MAUI, Avalonia, Uno, Blazor. MAUI, Avalonia and Uno are treated as multi-target, so the native redists are emitted under a target-framework condition; the rest get them unconditionally. | |
| includeOptional | No | Include optional packages? (e.g., OpenCV, AWS, specialized camera support) |