Skip to content

Lambda Annotations can raise CS1591 warning #1727

Closed
@chrischappell-rgare

Description

@chrischappell-rgare

Describe the bug

A CS1591 warning is raised if a Lamba project using Lambda Annotations has documentation file generation enabled. The project will not build at all if it has TreatWarningsAsError enabled.

Expected Behavior

The generated code can use #pragma warning disable CS1591 to prevent the warning from being raised.

Current Behavior

Each public member has warning CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'.

Reproduction Steps

Add <GenerateDocumentationFile>true</GenerateDocumentationFile> to a project using Amazon.Lambda.Annotations.

Possible Solution

Enclose the generated code in #pragma warning disable CS1591.

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

Amazon.Lambda.Annotations 1.3.0

Targeted .NET Platform

.Net 8

Operating System and version

AmazonLinux

Metadata

Metadata

Assignees

No one assigned

    Labels

    annotationsbugThis issue is a bug.p1This is a high priority issuequeuedxsEffort estimation: tiny

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions