ektrah/libsodium-core

AnyCPU available

Closed this issue · 2 comments

Due to the large number of projects defined as "AnyCPU", it would be great if you could provide an automatic copy of the correct "libsodium" (x86 or x64) instead of generating a runtime error.

AnyCPU allows us to define a single project for any type of Windows/computer. It's comfortable and very useful.

In fact, it could define an x86 libsodium DLL in cases where "AnyCPU" is selected.
Please consider this possibility.

Thank you.

“AnyCPU” works very well when using .NET Core / .NET 5 and later.

.NET Framework has a limitation where it works just as well when compiling for x86 and x64, but not for "AnyCPU".

Given that the .NET Framework is not being further developed and supporting “AnyCPU” causes a disproportionate amount of trouble, my recommendation is to switch to .NET.

Thank you very much for the answer.