Skip to content

Change default algorithms to comply with default VS AssemblyInfo file #7

@ImrePyhvel

Description

@ImrePyhvel

When you create new VS project and install AssemblyVersioning v0.10.0 then used default values cause build to fail because generated assembly attribute AssemblyConfigurationAttribute is already present.

The error message is obvious if generated file is included in codebase and visible in project but significantly more tricky once it will be hidden by default.

A better approach is to start with settings compatible with VS defaults and generate only attributes which are not present in code by default. Installer readme would point user to props file to adjust configuration to match their needs anyway.

Props file should contain a warning to remind user that generated attributes should not be already present in code elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions