Incompatible installation
thandh-3171 opened this issue · comments
incompatible installation
[Describe the issue you have. If applicable provide logs produced by enabeling verbose logging in the NuGetForUnity settings.]
- NuGet Package: Redis 2.6.122
- NuGetForUnity Version: 3.1.3
- Unity Version: 2021.3.7f1
- Operating System: Window
Then I try and install Unsafe 6.0.0. I got this error.
From here. I can't get to the point where I can downgrade to that version. (Unsafe 4.0.4.1).
Hi,
In the readme we have section on how to fix the version conflict error: See https://github.com/GlitchEnzo/NuGetForUnity#version-conflicts
Sorry for the delay. I now investigate the issue. You are using Api Compatibility Level .Net Framework.
So NuGetForUnity prevers dependencies targeting .Net Framework e.g. net47. Unity pre-includes System.Threading.Tasks.Extensions
when targeting .Net Framework. In the dependency tree the package System.Runtime.CompilerServices.Unsafe
is only listed as a dependency of System.Threading.Tasks.Extensions Pipelines.Sockets.Unofficial somehow doesn't list it as a dependency. So System.Runtime.CompilerServices.Unsafe
need to be installed manually either by editing the package.config
or using the UI.