Skip to content

Pack can have errors but still pass CI  #2366

@jaredpar

Description

@jaredpar

Consider the roslyn repository as an example. Clone master, run Build.cmd -restore -pack and you will get the following error:

e:\nuget\microsoft.dotnet.arcade.sdk\1.0.0-beta.19171.3\tools\BuildReleasePackages.targets(20,5): error : Multiple packages of name 'Microsoft.CodeAnalysis' specifie d [e:\nuget\microsoft.dotnet.arcade.sdk\1.0.0-beta.19171.3\tools\AfterSolutionBuild.proj]

Even so $lastExitCode is still 0 and the build passes. This should be failing our build.

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions