Skip to content
This repository was archived by the owner on Feb 12, 2023. It is now read-only.
This repository was archived by the owner on Feb 12, 2023. It is now read-only.

Exclude files on command line invocation. #95

Open
@AGBrown

Description

@AGBrown

Is there a way to exclude individual files from linking?

As an example use case:

  • GitVersionTask injects an assemblyinfo into the final assembly
  • This is registered at the <project\obj\release\gitversiontaskassemblyinfo.g.cs path.
  • When GitLink builds it then warns that these files are missing (which is expected, and not a problem).

It would be nice to exclude them from the linking process with GitLink.

This is an issue as they then show up in the MSBuild warning list on build logs, which is confusing when scanning the build console output for issues. It also therefore pollutes the output from CI servers with warnings that are not relevant.

edit: not in the warning list, but it shows up as important messages which say "missing file" and look like warnings

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