# Configuration AspectGenerator itself targets `netstandard2.0`, but consuming projects must be built with the .NET 10 SDK/compiler because the generator uses the stable Roslyn interceptor API based on opaque `InterceptableLocation` data. ## MSBuild Properties ```xml true false false AspectGenerator $(InterceptorsNamespaces);AspectGenerator ``` ## Assembly Attribute Override ```csharp using AspectGenerator; [assembly: AspectGeneratorOptions( GenerateApi = true, PublicApi = false, DebuggerStepThrough = false, InterceptorsNamespace = "AspectGenerator")] ``` Assembly attribute values override MSBuild properties. ## Obsolete Preview Names Do not use these preview-era settings for current versions: - `InterceptorsPreviewNamespaces` - `AG_InterceptorsNamespace` - `AG_PUBLIC_API` - `AG_NOT_GENERATE_API` - `InterceptsLocation(filePath, line, character)`