Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is not a Bug, how do I resolve version conflicts in dependent libraries? #230

Open
coinsoundsbetter opened this issue Aug 22, 2024 · 2 comments
Labels
question Further information is requested

Comments

@coinsoundsbetter
Copy link

coinsoundsbetter commented Aug 22, 2024

When I used Google.ProtoBuf + Arch in a Unity project,
ProtoBuf pilerServices relies on System.Runtime.CompilerServices.Unsafe 4.0;
The Arch is dependent on the System.Runtime.CompilerServices.Unsafe 6.0;
The error that appears is: Google.Protobuf references strong named System.Runtime.CompilerServices.Unsafe Assembly references: 4.0.4.1 Found in project: 6.0.0.0.
Does anyone know how to make them compatible?

@coinsoundsbetter
Copy link
Author

coinsoundsbetter commented Aug 22, 2024

I recompiled Google.Protobuf using System.Runtime.CompilerServices.Unsafe 6.0 to solve the above problem. But I found a new error:Assembly 'Assets/Packages/CommunityToolkit.HighPerformance.7.1.2/lib/netstandard2.1/CommunityToolkit.HighPerformance.dll' will not be loaded due to errors:
CommunityToolkit.HighPerformance references strong named System.Runtime.CompilerServices.Unsafe Assembly references: 5.0.0.0 Found in project: 6.0.0.0.
Why from NuGet install Arch package, specify different System.Runtime.Com pilerServices. Unsafe version?

@genaray genaray added the question Further information is requested label Sep 10, 2024
@genaray
Copy link
Owner

genaray commented Sep 10, 2024

Was your iusse resolved? If so how?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants