Repository navigation
Installation
Alexander Stärk edited this page Sep 25, 2026
·
1 revision
For normal application or library projects, install:
This package includes:
- Runtime API (
Basilisque.DependencyInjection) - Source generator (
Basilisque.DependencyInjection.CodeAnalysis) as dependency
If you are building your own Roslyn analyzer/generator extension for Basilisque DI, install:
See Analyzer Extension Support (for Source Generators).
- .NET project using
Microsoft.Extensions.DependencyInjection - Source generators enabled (default in modern SDK-style projects)
After build, you should be able to call at least one generated method from your root namespace:
services.RegisterServices()services.InitializeDependencies()
If these methods are missing, see Diagnostics and Troubleshooting.