Skip to content

error CS0579: Duplicate 'AssemblyVersion' attribute when using shared assembly info #871

@JakeGinnivan

Description

@JakeGinnivan

Pretty sure this is related to #760

In shouldly we have a Shared project with shared assembly info and then define the [AssemblyVersion] attribute in each of the projects themselves.

The breaking change is that when you do not specify a filename GitVersion still injects the attributes into all files. I think it should only inject if a filename is specified?

Thoughts @Philo @gep13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions