Downloading the .NET agent
Download the SeaLights .NET Agent as a self-contained package or from NuGet.
The latest .NET Agent is available as self-contained packages for Windows, Linux, and Alpine.
Use the self-contained packages when you want the agent to run without relying on a locally installed .NET runtime.
If you need a platform-dependent package, contact Support.
Windows
Windows 10 build 17063 (and higher)
Linux
Ubuntu 20.04 (and higher), Debian 11 (and higher), RHEL 8.10 (and higher)
Alpine
Alpine 3.18 (and higher)
When using the Alpine version, run the executable without an extension: SL.DotNet.
Downloading from NuGet
The agent is also published on NuGet Gallery | sealights-technologies.
Sealights.DotNet.Windows
Sealights.DotNet.Linux
Sealights.DotNet.Alpine
You can download the platform package that matches your environment.
Sample scripts
Download from NuGet
These examples download the package, extract it locally, and create a short sl-dotnet-agent path.
Download from SeaLights
In some Windows configurations, it may be necessary for you to enforce a compatible SSL protocol
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 -bor [Net.SecurityProtocolType]::Tls13
CI examples
Use these examples when you want to download the agent inside the pipeline itself.
Retrieve the agent version selected in your Settings page
These examples retrieve the version selected in the dashboard settings page.
Security
If you download and copy the agent manually, its files might get blocked by Windows OS.
You have two options to unblock them:
Right-click both the
SL.DotNet.exeandSL.DotNet.dllfiles and check the Unblock check box in the security section.Use this PowerShell command:
Get-ChildItem -Path 'C:\Sealights\agent\' -Recurse | Unblock-File

Last updated
Was this helpful?

