Install
global.json
YourProject.csproj
SDK Variants
| SDK | Use Case | Docs |
|---|---|---|
ANcpLua.NET.Sdk | Libraries, Console, Workers | Overview |
ANcpLua.NET.Sdk.Web | ASP.NET Core APIs | Web variant |
ANcpLua.NET.Sdk.Test | xUnit v3 with Microsoft Testing Platform | Test variant |
Included
All variants:- Roslyn analyzers for code quality
- Banned APIs enforcement (legacy → modern)
Throw.IfNull()guard clauses- LangVersion
latest, nullable enabled - Polyfills for netstandard2.0 targets
- OpenTelemetry integration (logging, metrics, tracing)
- Health endpoints (
/health,/alive) - HTTP resilience via Polly
- xUnit v3 with Microsoft Testing Platform
- Code coverage collection
Requirements
Directory.Packages.props
Get started
Step-by-step installation guide
