I'm digging into DocFX. My projects are all using either .NET Standard 2.1 or 6.
I've come across an issue where classes, structs, interfaces that are in either System.* or Microsoft.* are not being resolved.
The DocFX metadata command generates warning messages:
Warning:[ExtractMetadata]Invalid cref value "!:ArgumentNullException" found in triple-slash-comments for .ctor defined ..., ignored.
Warning:[ExtractMetadata]Invalid cref value "!:ArgumentException" found in triple-slash-comments for .ctor defined in ... , ignored.
Warning:[ExtractMetadata]Invalid cref value "!:CancellationToken.None" found in triple-slash-comments for .ctor defined in ..., ignored.
Warning:[ExtractMetadata]Invalid cref value "!:IServiceProvider" found in triple-slash-comments for Run defined in ... , ignored.
Warning:[ExtractMetadata]Invalid cref value "!:InvalidOperationException" found in triple-slash-comments for Run defined in ... , ignored.
Warning:[ExtractMetadata]Invalid cref value "!:DateTime" found in triple-slash-comments for Run defined in ... , ignored.
Warning:[ExtractMetadata]Invalid cref value "!:Action" found in triple-slash-comments for Run defined in ... , ignored.
Warning:[ExtractMetadata]Invalid cref value "!:Task" found in triple-slash-comments for Run defined in ... , ignored.
I have the <see cref="Exception"/>
tag in the triple slash comment. There are no issues compiling.
Any idea how to resolve this?
Thanks.