As soon as I try to compile code that use C# 7 tuples with multi targets (netstandard2.0
and xamarin.iOS
) I got the following error:
Predefined type 'System.ValueTuple`2' is declared in multiple referenced assemblies
As soon as I try to compile code that use C# 7 tuples with multi targets (netstandard2.0
and xamarin.iOS
) I got the following error:
Predefined type 'System.ValueTuple`2' is declared in multiple referenced assemblies
It might've been added automatically as a reference from another package. Just remove that NuGet package to resolve the conflict.
uninstall-package System.ValueTuple
is the command for the package manager console.