Skip to content

Building this repo at v3.0.1+ creates M.Ext.FileProviders.Embedded.3.0.1 without lib/ contents (source-build?) #2897

@dagood

Description

@dagood

Describe the bug

When I clone the repo at v3.0.1 and run ./build.sh, artifacts/packages/Debug/Shipping/Microsoft.Extensions.FileProviders.Embedded.3.0.1.nupkg contains only these dirs:

build
buildMultiTargeting
package
tasks
_rels

Microsoft.Extensions.FileProviders.Embedded.3.0.1 on NuGet contains a lib/ dir with the actual assembly.

I am running my build in a CentOS 7 Docker container, but it probably repro'd on every source-build CI platform such as macOS. (We notably don't build on Windows.)

During a 3.0.1 source-build, this repros as well. I can't test it on the v3.0.2 tag here standalone because it doesn't build.

To Reproduce

./build.sh at v3.0.1. Linux may be necessary.

Expected behavior

The nupkg should be the same as the released one (modulo determinism and capability issues).

Additional context

I believe this is breaking source-build, with a last-minute workaround of not crossgenning the outputs: dotnet/source-build#1452.

/cc @crummel @dseefeld

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