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.11k stars 79 forks source link

The type 'IAsyncDisposable' exists in both 'Microsoft.Bcl.AsyncInterfaces and 'netstandard' #162

Closed Niek352 closed 1 week ago

Niek352 commented 3 weeks ago

I Clone my project on another PC and have this issue.

Library\PackageCache\com.cysharp.zlogger\Runtime\ZLoggerUnityDebugLoggerProvider.cs(147,92): error CS0433: The type 'IAsyncDisposable' exists in both 'Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'

neuecc commented 2 weeks ago

may solve NuGetForUnity v4.1.1? https://github.com/GlitchEnzo/NuGetForUnity/pull/641

Niek352 commented 1 week ago

This was a test project and I broke it completely, so I can't try to test this solution now