diff --git a/AutomaticInterface/AutomaticInterface/AutomaticInterfaceGenerator.cs b/AutomaticInterface/AutomaticInterface/AutomaticInterfaceGenerator.cs index ae41c71..ccd3677 100644 --- a/AutomaticInterface/AutomaticInterface/AutomaticInterfaceGenerator.cs +++ b/AutomaticInterface/AutomaticInterface/AutomaticInterfaceGenerator.cs @@ -15,7 +15,8 @@ public class AutomaticInterfaceGenerator : IIncrementalGenerator public void Initialize(IncrementalGeneratorInitializationContext context) { - context.RegisterPostInitializationOutput(static postInitializationContext => { + context.RegisterPostInitializationOutput(static postInitializationContext => + { postInitializationContext.AddSource($"{DefaultAttributeName}.Attribute.g.cs", SourceText.From($$$""" // using System;