You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the comment above that line is not accurate. This is failing due to the following warning:
D:\git\extensions\artifacts\obj\Microsoft.Extensions.Compliance.Redaction\Release\net9.0\Microsoft.Extensions.Options.SourceGeneration\Microsoft.Extensions.Options.Generators.OptionsValidatorGenerator\Validators.g.cs(45): Trim analysis error IL2026: __OptionValidationStaticInstances.<Validators_g>F57694E33B5E2E27C63A3A57935189BA2F694DE286C5758AB3C2CDA117678B43A____Attributes..cctor(): Using member 'Microsoft.Shared.Data.Validation.LengthAttribute.LengthAttribute(Int32)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.
We should make this library trim/AOT compatible.
The text was updated successfully, but these errors were encountered:
See
extensions/src/Libraries/Microsoft.Extensions.Compliance.Redaction/Microsoft.Extensions.Compliance.Redaction.csproj
Lines 17 to 18 in d42d3e5
Note that the comment above that line is not accurate. This is failing due to the following warning:
We should make this library trim/AOT compatible.
The text was updated successfully, but these errors were encountered: