Skip to content

GenAPI drops internal ctor which results in compilation errors #32119

@ViktorHofer

Description

@ViktorHofer

Microsoft.DotNet.GenAPI.Task/8.0.100-preview.5.23228.4 drops the following API: https://github.com/dotnet/runtime/blob/e6f9af1361030fca92abe58efed1ea45d2eb552c/src/libraries/System.IO.Packaging/ref/System.IO.Packaging.cs#L180

I verified that the latest changes are part of the used GenAPI version. A repro in the source-build-reference-packages repo:

./generate.sh --package "System.IO.Packaging,7.0.0" --excludeDependencies
./build.sh
# The above command failed for me at some point so I then built the generated project manually:
.dotnet/dotnet build /home/vihofer/git/source-build-reference-packages/src/referencePackages/src/system.io.packaging/7.0.0/System.IO.Packaging.7.0.0.csproj

Parameters used for invoking the GenAPI task:
image

cc @ericstj @andriipatsula

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions