Cysharp / ZLogger

Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.
MIT License
1.13k stars 80 forks source link

Add System.Diagnostics.DiagnosticSource.dll #74

Closed hadashiA closed 9 months ago

hadashiA commented 9 months ago

66

in Unity 2021.3 or newer, The following error seems to have occurred during installation.

Assembly 'Assets/Plugins/Microsoft.Extensions.Logging.dll' will not be loaded due to errors:
Unable to resolve reference 'System.Diagnostics.DiagnosticSource'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.

Consideration

If the minimum supported version is 2021.3, there is no need to separate the netstandard 2.0 and 2.1 packages.

hadashiA commented 9 months ago

According to the issue comments, the windows target does not require additional dlls (?) 🤔 🤔 I would like to investigate this further.

hadashiA commented 9 months ago

I tried to follow up in a Windows environment.

In all environments, System.Diagnostics.DiagnosticsSource.dll was missing.