Skip to content

Missing actual source code from https://source.dot.net/ #188

@ManickaP

Description

@ManickaP

https://source.dot.net/ now contains platform agnostic source code, which is in many cases is just empty classes throwing PlatformNotSupportedException, similar to ref sources, making it not very useful for the purpose of browsing the source code.

We noticed in the pipeline that it processes multiple *.notsupported.cs source files, instead of originally using linux versions:
https://dev.azure.com/dnceng/7ea9116e-9fac-403d-b258-b31fcf1bb293/_apis/build/builds/2747243/logs/166 (look for *.notsupported.cs)

Quoting @ericstj:

IMO better deduping logic in the source indexer is the right solution here. We cannot count on only ever having a single "best" build of a project.

Potential culprit: dotnet/runtime#116772

Example https://source.dot.net/#System.Net.NameResolution/artifacts/obj/System.Net.NameResolution/Debug/net10.0/System.Net.NameResolution.notsupported.cs,f8023b9c19212708:

Image

Noticed on 10.7., in recent past it was OK.

Metadata

Metadata

Assignees

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