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
Description
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
Labels
No labels