Open MrDave1999 opened 1 year ago
Maybe https://github.com/dotnet/docfx/pull/8349 fixes this.
If you instead make the method public void Foo(Exception exception)
, then does DocFX correctly recognize that it means System.Exception? If not, then the problem is not specific to the cref
attribute.
@KalleOlaviNiemitalo It does not recognize it, it does not create the hyperlink.
Try run dotnet restore
before calling docfx and see if it fixes the problem. We are adding some more diagnostics to surface the underlying compilation errors.
@yufeih The problem still persists.
Describe the bug Microsoft.DocAsCode.App ignores the documentation when the
cref
attribute is used.To Reproduce Create an example class with XML documentation using the
cref
attribute:Note: Use Implicit Usings.
Expected behavior
Context (please complete the following information):
OS: Windows
Docfx version: 2.60.2
.NET version: .NET 7.0
docfx.json
configAdditional context These warnings do not happen with DocFX version 2.59.4.0 (without using Implicit Usings).