You need to install the System.Memory Nuget package although it’s listed as a dependency in ServiceStack.Text so not sure why it’s not being automatically installed.
v5.1.0 will most likely work, but v5.1.1 has the additional references to System.Memory so you should try getting it working with that first as that’s what v5.2 will be using.
Ok 5.1.0 work. I had to deploy asap a test version for our users… for what I understand now. I’m not sure the IOS project is on the correct version to support latest System.Memory version I need to continue research…
No but it’s an unnecessary dependency, so if it’s causing any issues it’s best to just remove it. It’s mostly an internal impl detail so should have minimal impact.
Was only keeping it around to add a deprecation warning message to notify anyone using it to move to the newer Span/Memory types. If anyone needs to access the earlier StringSegment extensions they can just call its .AsSpan() extension method to access the previous extensions methods which are now on ReadOnlySpan<char>.