Skip to content

Artifacts: Discrepancy between single- and multi-targeting scenarios #652

@KirillOsenkov

Description

@KirillOsenkov

This PR #227 added more knobs to the single-targeting branch, but not the multi-targeting branch.

So this:

<Artifact Include="$(DefaultArtifactsSource)"
DestinationFolder="$(ArtifactsPath)"
FileMatch="$([MSBuild]::ValueOrDefault($(DefaultArtifactsFileMatch), '*exe *dll *exe.config *nupkg'))"
FileExclude="$(DefaultArtifactsFileExclude)"
DirExclude="$([MSBuild]::ValueOrDefault($(DefaultArtifactsDirExclude), 'ref'))"
IsRecursive="$(DefaultArtifactsIsRecursive)"
VerifyExists="$(DefaultArtifactsVerifyExists)"
AlwaysCopy="$(DefaultArtifactsAlwaysCopy)"
OnlyNewer="$(DefaultArtifactsOnlyNewer)" />

Is richer than this:

<Artifact Include="$([MSBuild]::ValueOrDefault($(DefaultArtifactsSource), $(OutputPath)))"
DestinationFolder="$(ArtifactsPath)"
FileMatch="$([MSBuild]::ValueOrDefault($(DefaultArtifactsFileMatch), '*exe *dll *exe.config *nupkg'))" />

Should we perhaps unify?

@jeffkl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions