You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WN10.P4 edit pass for XML comment gen improvements (#35420)
* edit pass for xml comment gen improvements
* minor tweak
* Update aspnetcore/release-notes/aspnetcore-10/includes/xml-comment-generator.md
Co-authored-by: Copilot <[email protected]>
* Update aspnetcore-10.0.md
* Apply suggestions from code review
Co-authored-by: Rick Anderson <[email protected]>
* Update aspnetcore/release-notes/aspnetcore-10.0.md
* reformat xml lines to make them shorter
* Update aspnetcore/release-notes/aspnetcore-10.0.md
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Rick Anderson <[email protected]>
XML comment generation handles complex types in .NET 10 better than earlier versions of .NET.
4
4
5
-
<!-- it should throw fewer build errors now.
6
-
- It should also work with the Identity API XML comments but I haven't verified that.
7
-
- Maybe update docs about failure mode. -->
5
+
* It produces accurate and complete XML comments for a wider range of types.
6
+
* It handles more complex scenarios.
7
+
* It gracefully bypasses processing for complex types that cause build errors in earlier versions.
8
8
9
-
The XML comment generator has been enhanced to better handle complex types. In conjunction, the generator now gracefully bypasses processing for complex types that previously caused build errors. Taken together, these changes improve the robustness of XML comment generation but change the failure mode for certain scenarios from build errors to missing metadata.
9
+
These improvements change the failure mode for certain scenarios from build errors to missing metadata.
10
10
11
11
In addition, XML doc comment processing can now be configured to access XML comments in other assemblies. This is useful for generating documentation for types that are defined outside the current assembly, such as the `ProblemDetails` type in the `Microsoft.AspNetCore.Http` namespace.
12
12
@@ -15,14 +15,16 @@ This configuration is done with directives in the project build file. The follow
We expect to include XML comments from a selected set of assemblies in the shared framework in future previews, to avoid the need for this configuration in most cases.
0 commit comments