Bug 38943 - MT3005 The dependency System.Net.Http.Primitives was not found
Summary: MT3005 The dependency System.Net.Http.Primitives was not found
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: XI 9.4 (iOS 9.2)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-02-19 21:47 UTC by John Miller [MSFT]
Modified: 2016-02-19 22:17 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description John Miller [MSFT] 2016-02-19 21:47:57 UTC

   Warnings appear when using Microsoft.WindowsAzure.Mobile

**Steps to Reproduce:**

   Add the Microsoft.WindowsAzure.Mobile NugetPackage to an iOS project
   Set Linker to Link SDK Framework
   Build for a Device

**Actual Results:**

MTOUCH: warning MT3005: The dependency 'System.Net.Http.Primitives, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of the assembly 'Microsoft.WindowsAzure.Mobile, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' was not found. Please review the project's references.

MTOUCH: warning MT3006: Could not compute a complete dependency map for the project. This will result in slower build times because Xamarin.iOS can't properly detect what needs to be rebuilt (and what does not need to be rebuilt). Please review previous warnings for more details.

**Expected Results:**

   No warnings.

**Build Date & Platform:**

=== Xamarin Studio ===
Version 5.10.2 (build 56)
Installation UUID: 6b845f4f-a968-4b86-9943-8fed5db10aba
Mono 4.2.2 (explicit/996df3c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 402020030
=== Xamarin.Profiler ===
Not Installed
=== Apple Developer Tools ===
Xcode 7.2.1 (9548.1)
Build 7C1002
=== Xamarin.iOS ===
Version: (Enterprise Edition)
Hash: 962a050
Branch: master
Build date: 2016-01-29 16:59:11-0500
=== Xamarin.Android ===
Version: (Enterprise Edition)
Android SDK: /Users/janette/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
4.0.3 (API level 15)
4.4 (API level 19)
4.4.87 (API level 20)
5.0 (API level 21)
5.1 (API level 22)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.2
Java SDK: /usr
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
=== Xamarin Android Player ===
Version: 0.6.5
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: (Enterprise Edition)
=== Build Information ===
Release ID: 510020056
Git revision: bb74ff467c62ded42b7b7ac7fdd2edc60f8647b0
Build date: 2016-01-26 16:24:41-05
Xamarin addins: 8b797d7ba24d5abab226c2cf9fda77f666263f1b
Build lane: monodevelop-lion-cycle6-c6sr1
=== Operating System ===
Mac OS X 10.11.3


Microsoft Visual Studio Professional 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038
Installed Version: Professional
LightSwitch for Visual Studio 2015 00322-40000-00000-AA146
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015 00322-40000-00000-AA146
Microsoft Visual Basic 2015
Visual C# 2015 00322-40000-00000-AA146
Microsoft Visual C# 2015
Visual C++ 2015 00322-40000-00000-AA146
Microsoft Visual C++ 2015
Windows Phone SDK 8.0 - ENU 00322-40000-00000-AA146
Windows Phone SDK 8.0 - ENU
AnkhSVN - Subversion Support for Visual Studio 2.5.12703.45
AnkhSVN - Subversion Support for Visual Studio 2.5.12703.45
* Ankh.Package 2.5.12703.45
* Subversion 1.8.13 via SharpSvn 1.8013.3694.107
SharpSvn is linked to: Apr 1.5.1, Apr-util 1.5.4, Cyrus Sasl 2.1.25, eXpat 2.1.0, OpenSSL 1.0.2d 9 Jul 2015, serf 1.3.8, SQLite 3.7.17, Subversion 1.8.13-SharpSvn-1.8.13, ZLib 1.2.8
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 0.64.0(SharpSvn)
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015 (RC1 Update 1) 14.1.11120.0
ASP.NET and Web Tools 2015 (RC1 Update 1)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Azure App Service Tools v2.8.1 14.0.11123.0
Azure App Service Tools v2.8.1
Common Azure Tools 1.7
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
DataFactoryProject 1.0
Microsoft Data Factory Package
GitHub.VisualStudio 1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
Microsoft Azure Data Factory Node Node 1.0
Azure Data Factory extension for Visual Studio Server Explorer.
Microsoft Azure HDInsight HQL Service 2.0.2900.0
Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 2.0.2900.0
An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.8
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.8.31121.1
Microsoft Azure Tools 2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601
Multilingual App Toolkit 4.0.1573.0
Multilingual App Toolkit helps you localize your Windows Store app by providing file management, pseudo and machine translation, translation editor, and build integration. http://aka.ms/matinstallv4
NuGet Package Manager 3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Office Developer Tools for Visual Studio 2015 ENU 14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.50730.0
Microsoft SQL Server Data Tools
TypeScript for Microsoft Visual Studio
Visual Studio Tools for Universal Windows Apps 14.0.24720.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Xamarin (dcea9c1)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Inspector Support (45b35bb)
Adds support for inspecting Xamarin and WPF apps.
Xamarin.Android (e98e962)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS (47eb74b)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Sebastien Pouliot 2016-02-19 22:17:26 UTC
System.Net.Http.Primitives.dll is not part of the SDK (BCL or PCL facades) that we ship with XI.

If Microsoft.WindowsAzure.Mobile uses this then either:
* it was not compiled against our SDK, nor a compatible PCL profile; or
* you're missing other dependencies (that should be documented).

In both cases this is not related to XI.