rams
rams

Reputation: 6801

Xamarin.Forms Failed to resolve assembly stateless error

After upgrading to the latest version of Xamarin.Forms (2.3.3.175) my iOS project throws the compilation error

Failed to resolve assembly: 'Stateless, Version=2.5.53.0, Culture=neutral, ...' (MT2002) in File MTOUCH and Path MTOUCH

The shared code is in a PCL library targeting PCL 4.5 - Profile78

So far Google search hasn't returned anything.

Anyone encounter this yet? Appreciate any help in resolving this.

I am using Xamarin Studio Community Edition version 6.1.2 (Build 44)

Upvotes: 0

Views: 1055

Answers (2)

sroncolini
sroncolini

Reputation: 46

You are likely using couchbase lite. Stateless is an assembly required by couchbase lite. It seems it cannot be resolved if used in a pcl project. You can read something about this problem here. A couchbase developer states that

The strategy has changed since then. We won't be supporting PCL but instead we aim to support .NET Standard 2.0 when it is ready.

Hope this helps.

Upvotes: 3

Stephane Delcroix
Stephane Delcroix

Reputation: 16232

Xamarin.Forms has NO dependency on an assembly named Stateless of any sort. Check your dependencies, and your dependencies dependencies...

Upvotes: 1

Related Questions