Elijah Lofgren
Elijah Lofgren

Reputation: 1477

Xamarin Forms "Todo DocumentDB" sample - Higher version than referenced assembly System.Collections.Specialized error

I'm using Visual Studio 2013 and can't seem to fix the following build error that I get when I go to https://developer.xamarin.com/samples/xamarin-forms/WebServices/TodoDocumentDB/ and download the sample code and attempt to run it:

Error   2   Assembly 'Microsoft.Azure.DocumentDB.Core, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 
'System.Collections.Specialized, Version=4.0.1.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced 
assembly 'System.Collections.Specialized, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a'    c:\Users\Elijah  
Lofgren\Downloads\T1mobio\TodoDocumentDB\packages\Microsoft.Azure.DocumentDB.Cr
e.1.0.0\lib\netstandard1.6\Microsoft.Azure.DocumentDB.Core.dll  
TodoDocumentDB.Droid

I've tried updating all the nuget packages but that hasn't worked.

I can't seem to find anyone else with this error.

Thanks!

Upvotes: 0

Views: 92

Answers (1)

Brandon Minnick
Brandon Minnick

Reputation: 15390

It looks like this code is not compatible with Visual Studio 2013 on PC.

On PC, you need to use Visual Studio 2015 (or newer).

On Mac, you can use any version of Visual Studio for Mac.

Upvotes: 1

Related Questions