| Variant | Use case |
|---|---|
ANcpLua.NET.Sdk | Libraries, console apps, workers |
ANcpLua.NET.Sdk.Web | ASP.NET Core APIs |
ANcpLua.NET.Sdk.Test | xUnit v3 test projects |
Base
All variants include:- Roslyn analyzers
- Banned APIs enforcement
- Guard clauses (
Throw.IfNull()) - Nullable enabled, LangVersion
latest - Deterministic builds, SourceLink
Web
Extends the base SDK with:- OpenTelemetry (logging, metrics, tracing)
- Health endpoints (
/health,/alive) - HTTP resilience via Polly
- DevLogs (browser → server logging)
Test
Extends the base SDK with:- xUnit v3 with Microsoft Testing Platform
- AwesomeAssertions
- WebApplicationFactory base classes
- Analyzer testing packages
