I'm using Roslyn analyzers following below link:
https://docs.unity3d.com/2020.3/Documentation/Manual/roslyn-analyzers.html
Everything looks well until I try to build a .apk file.
It keeps throwing errors and causing the failure of the building.
I found a resolution from an old thread and changed API Compatibility Level to .Net 4.x(since the target of ErrorProne.dll is .Net 4.x), but it didn't help.
Does anyone have a clue?
The error message:
The Assembly Microsoft.CodeAnalysis is referenced by ErrorProne.NET.Core ('Assets/ErrorProne/ErrorProne.NET.Core.dll'). But the dll is not allowed to be included or could not be found.
The Unity version: 2020.3.27
Microsoft.CodeAnalysis: 2.9.0
↧