Bug 45654 - Can't install any Nuget packages
Summary: Can't install any Nuget packages
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-10-18 17:50 UTC by alex.liu
Modified: 2016-10-18 18:31 UTC (History)
2 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 alex.liu 2016-10-18 17:50:59 UTC
For e.g. this ,Could not install package 'Xamarin.TestCloud.Agent 0.20.3'

Attempting to gather dependency information for package 'Xamarin.TestCloud.Agent.0.20.3' with respect to project 'FAST.iOS.UITest', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'Xamarin.TestCloud.Agent.0.20.3' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Xamarin.TestCloud.Agent.0.20.3'
Resolved actions to install package 'Xamarin.TestCloud.Agent.0.20.3'
For adding package 'Xamarin.TestCloud.Agent.0.20.3' to project 'FAST.iOS.UITest' that targets 'net45'.
Install failed. Rolling back...
Package 'Xamarin.TestCloud.Agent.0.20.3' does not exist in project 'FAST.iOS.UITest'
Could not install package 'Xamarin.TestCloud.Agent 0.20.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Latest Xamarin ,Latest Xcode ,everything is up to date.
Comment 1 Matt Ward 2016-10-18 18:31:20 UTC
You can only install Xamarin.TestCloud.Agent into an iOS project.

In the UITest project that has your tests you should be installing the Xamarin.UITest NuGet package.