Skip to content

Avoid inserting version if the attribute is not found #11

@Geekays

Description

@Geekays

For some of the projects that I build occasionally have an additional file AssemblyInfoCommon.cs with the version number stuff. So, I have to run this task for AssemblyInfo*.cs files. However, this task inserts the version attributes to the files if it does not contain one. This causes duplicate entries and builds to fail.

Is there a way to avoid inserting in case the file does not have one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions