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
In this case. It needs to reference additional DLLs that are provided by Unity. (e.g. UnityEngine.dll)
But It seems currently not possible by docfx.json config.
It can generate API metadata partially. When setting "allowCompilationErrors": true.
But some metadata that depends on external DLLs are not generated.
Describe the solution you'd like
Allow additional DLL file references when using C# file based build.
Additional context
Currently CreateCompilationFromCSharpFiles don't support additional references.
But CreateCompilationFromCSharpCode that used test code supports additional DLL references.
Is your feature request related to a problem? Please describe.
It seems
C# file based
API metadata generation are used by users who useUnity
.In this case. It needs to reference additional DLLs that are provided by Unity. (e.g.
UnityEngine.dll
)But It seems currently not possible by
docfx.json
config.It can generate API metadata partially. When setting
"allowCompilationErrors": true
.But some metadata that depends on external DLLs are not generated.
Describe the solution you'd like
Allow additional DLL file references when using C# file based build.
Additional context
Currently
CreateCompilationFromCSharpFiles
don't support additional references.But
CreateCompilationFromCSharpCode
that used test code supports additional DLL references.docfx/src/Docfx.Dotnet/CompilationHelper.cs
Lines 55 to 71 in 841fcdf
The text was updated successfully, but these errors were encountered: