Commit 6100554
[Java.Interop.Tools.Cecil] Change DirectoryAssemblyResolver Warning to Diagnostic Output (#622)
Context: dotnet/android#2120
When building an app and using an Obfuscator you wind up with a lot
of warnings such as:
warning : Failed to read 'obj\Release\90\android\assets\DotfuscatorForms.Android.dll' with debugging symbols. Retrying to load it without it. Error details are logged below.
warning : Mono.Cecil.Cil.SymbolsNotMatchingException: Symbols were found but are not matching the assembly
These are probably the result of the Obfuscation process since the
assembly changed. However the warning was *not* useful or -- more
importantly -- actionable by the user. It is just noise. It might
be useful for the developers writing the Java.Interop tooling itself.
Rather than a warning, change the message to be `Verbose`. This will
allow it up show up in full diagnostic output, but NOT in a normal
build. It won't be a warning so users will not feel a need to fix it.1 parent d736086 commit 6100554
File tree
1 file changed
+2
-2
lines changed- src/Java.Interop.Tools.Cecil/Java.Interop.Tools.Cecil
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments