-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.IO.Pipelines is missing doc XML from package #42479
Comments
Tagging subscribers to this area: @safern, @ViktorHofer |
@carlossanlop @safern this is happening because System.IO.Pipelines.xml is missing from The lib files in this package were produced by the src build, so they are coming from checked in sources, which we don't want as these might be out of sync with what's in the docs repo. |
@gewarren perhaps you can help on this. I'm not sure what the process is to get assemblies added to the Microsoft.Private.Intellisense package. I looked at some builds and it seems that its driven off this file https://github.com/dotnet/dotnet-api-docs/blob/master/xml/FrameworksIndex/net-5.0.xml. I couldn't find what is responsible for deciding what assemblies are listed in that file, and it appears to be derived by some tooling and then checked in by you. Do you think you can help? |
@ericstj The process is that @safern creates an assembly drop folder of the ref assemblies, for example, this one for .NET 5 RC1: \\safernmain\docslayout\5.0-RC1. I then run a job that uses a tool called "mdoc" to generate/update the XML stubs. Santi will have to provide you info on how he collects the assemblies because I'm not sure. |
@gewarren in that drop I see Why wouldn't these then show up in the |
We don't copy anything from the microsoft.aspnetcore.app folder (usually). Assemblies in the "extensions" folder in @safern's drop are copied to a "dotnet-plat-ext-5" folder instead of "dotnet-5" (which is where the assemblies from Santi's "microsoft.netcore.app" and "microsoft.windowsdesktop.app" folders are copied). So System.IO.Pipelines shows up in this file: https://github.com/dotnet/dotnet-api-docs/blob/master/xml/FrameworksIndex/dotnet-plat-ext-5.0.xml. And you can see that it shows up in docs, for example here: https://docs.microsoft.com/en-us/dotnet/api/system.io.pipelines.pipe?view=dotnet-plat-ext-5.0. As to what is included in IntelliSense, that I don't know. @TianqiZhang might be able to explain. |
Can we generate the intellisense package using both, extensions and microsoft.netcoreapp.app? |
@joelmartinez Can you help with this issue, perhaps? |
@gewarren ... after reading through the thread, I think I have an understanding of what the issue is, but just wanted to clarify; is the ask here to include the |
I think it would make sense to include all monikers for the current tfm version. |
@gewarren @safern I've created a devops item here for @TianqiZhang to look at. Please feel free to add any additional details or context there. |
Thanks @joelmartinez. @TianqiZhang it would be great if we could get this sorted out the earliest as we have a deadline to update the package before Thursday September 24th at 10am PST in order to be able to include this as part of the 5.0.0 release. |
I took a closer look at the latest package (I was previously looking at Line 181 in e13f72b
I think we can make a small workaround to fix this by probing for the XML file in both locations. |
It looks like this change observed the new layout, but didn't account for the different directories: #38109 |
I did a quick check and these are the packages impacted. The following all have XML in dotnet-plat-ext which isn’t used:
The following are all missing XML docs from the package entirely:
The latter category is more concerning, as I see authored docs for these in https://github.com/dotnet/dotnet-api-docs/tree/master/xml but they are not making it to dotnet/runtime. |
These were not included in the latest package we're using because these were not included in extensions at all... The Microsoft.Extensions.* packages were only included in the
Were not listed in: https://github.com/dotnet/api-catalog-infra/blob/master/eng/droplayout.props -- I will fix that to include it on the next drop I'm sharing today. |
I just did some extra validation on some of the packages that were missing the .xml file, and they are fixed and in the expected shape now. |
Examine the ref folder in the System.IO.Pipelines package. It's missing it's doc XML.
Every other package seems to have it but this one.
This appears to be a regression from 3.1. Likely has to do with the custom way that Pipelines is packaged:
runtime/src/libraries/System.IO.Pipelines/ref/System.IO.Pipelines.csproj
Lines 6 to 8 in 2a1735b
The text was updated successfully, but these errors were encountered: