Skip to content

[SBRP] Generated artifacts are different between windows and linux #4858

@MichaelSimons

Description

@MichaelSimons

It appears that if you generate select packages on windows vs linux, the generated code differs slightly.

Example:

generate -x -p system.buffers,4.5.1

I mostly see the addition/removal of:

[assembly: System.Reflection.AssemblyMetadata("source", "source-build-reference-packages")]

...but there are some other differences in the assembly metadata like order of attributes and in one case the removal of

 <requireLicenseAcceptance>false</requireLicenseAcceptance>

in system.runtime.compilerservices.unsafe,6.0.0

This was discovered in https://github.com/dotnet/source-build-reference-packages/pull/1139/files/01286f1c177a8e4c67a566a9ebbb1fe2c5754022#diff-f879b43336e1f7a239bf8cead81856e0301f3d3b9178ba178ff64d3238c2d487

Metadata

Metadata

Assignees

Labels

area-infraSource-build infrastructure and reporting

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions