Skip to content

TypeGen — Diagnostic reference

IDSeverityTrigger
TG0001Warning[GenerateTypes] with Targets = TypeTarget.None — nothing to emit
TG0002WarningProperty type the emitter cannot translate — add [TsType] / [OpenApiProperty] or [TsIgnore] / [OpenApiIgnore]
TG0003ErrorGeneric type on [GenerateTypes] — not supported in the MVP
TG0010ErrorMore than one ITypeGenConfigurator in this project
TG0011ErrorEmpty OutputDir on [GenerateTypes]
TG0012WarningUnrecognized fluent call in ITypeGenConfigurator.Configure
TG0013WarningNon-literal argument passed to a configurator DSL method
TG0014Warning[CrudApi] on class without [GenerateTypes]paths: won’t include it
TG0020InfoLive regen on save was sandboxed by the IDE analyzer host — output will be written at the next dotnet build (use dotnet watch build for save-time refresh)