-
Notifications
You must be signed in to change notification settings - Fork 832
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
[Bug] Handling attributes with missed types passed as args #9796
Comments
Is it able to provide a minimum set of reproducible source files? I've tried to reproduce the described condition, but without success.
|
Seems it is happened in case obfuscated assemblies only. Microsoft.CodeAnalysis.AttributeData will contains invalid values. Anyway the issue related with docfx still is - doc building process shouldn't be stopped. |
docfx/src/Docfx.Dotnet/ManagedReference/Visitors/YamlModelGenerator.cs Lines 116 to 128 in 3d5de09
And exception message text indicate both
If referencing obfuscated DLLs cause problems. For Alternatives workaround. But I can't be sure there won't be side effects by this changes. |
Here is the invalid ref. As I told obfuscation isn't real issue. Real issue - stopped build process. Docfx do not stop building process when some file or images missed. Think wrong parsed dll should be the same. Just say like - Hey, you have non dotnet assembly, so I ignore it. And continue. |
Thanks for your reply. |
Unfortunately I don't know any other way to transfer. Virustotal says it is fine. Maybe have other way to prevent delete it before send to analyze. |
It can download attached files by updating definition files Windows Defender. What' about following workaround to skip these error symbols. 1. Add 2. Add setting to exclude API symbol that don't have uid.
|
Describe the bug
When assembly (placed as a .net ref source) contains type with TypeConverter attribute (I don't know, maybe any other attribute causes the same) applied to some property and this attribute accepts type from assembly that doesn't present in src folder we will get the following error:
Expected behavior
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: