Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
It seems that when using the <AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk> tag, it confuses Nuget as to what actual TargetFrameworkVersion it is using and therefore cannot install packages correctly.
Given the simple reproduction:
Create a new File -> New Android Project.
Have Android API 21 installed which would be the UseLatestPlatformSDK in this case.
Attempt to install any Android.Support library targeted for 21.0.X.
Nuget will error because it doesn't know what TargetFrameworkVersion it's using as we only have the following in the .csproj:
To fix this, we must use a specific Android version so our TargetFrameworkVersion will be set and Nuget can figure it out:
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Installed Version: Ultimate
Architecture and Modeling Tools 06181-004-0451031-02320
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.
LightSwitch for Visual Studio 2013 06181-004-0451031-02320
Microsoft LightSwitch for Visual Studio 2013
Team Explorer for Visual Studio 2013 06181-004-0451031-02320
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06181-004-0451031-02320
Microsoft Visual Basic 2013
Visual C# 2013 06181-004-0451031-02320
Microsoft Visual C# 2013
Visual C++ 2013 06181-004-0451031-02320
Microsoft Visual C++ 2013
Visual F# 2013 06181-004-0451031-02320
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06181-004-0451031-02320
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Windows Phone SDK 8.0 - ENU 06181-004-0451031-02320
Windows Phone SDK 8.0 - ENU
API portability analyzer.
ASP.NET and Web Tools 12.4.51016.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0
For additional information, visit http://www.asp.net/
AWS Toolkit for Visual Studio 2013 184.108.40.206
AWS Toolkit for Visual Studio 2013.
Copyright 2011-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
This software includes third party software subject to the following copyrights:
- WPF Toolkit for charting and grid controls, Microsoft Public License (Ms-PL)
- Logging from log4net, Apache License
- Putty for PPK to PEM conversion, MIT license
- NGit for AWS Elastic Beanstalk incremental push
- NSch dependency for NGit
- Sharpen dependency for NGit
- ICSharpCode.SharpZipLib dependency for NGit
- Mono.Posix.dll and Mono.Security.dll dependencies for NGit
- MPFProj for Visual Studio Project Framework
- JSONLint for JSON validation
Color Theme Designer 1.0
Designer for creating new color themes
Common Azure Tools 1.3
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Entity Framework Power Tools 1.0
Adds useful design-time DbContext features to the Visual Studio Solution Explorer context menu.
When right-clicking on a file containing a derived DbContext class, the following context menu functions are supported:
1) View Entity Data Model - Displays the underlying Code First model in the Entity Framework designer.
2) View Entity Data Model XML - Displays the EDMX XML representing the underlying Code First model.
3) Generate Views - Generates pre-compiled views used by the EF runtime to improve start-up performance. Adds the generated views file to the containing project.
File Nesting 1.0
Automatically nest files based on file name and enables developers to nest and unnest any file manually
JetBrains ReSharper 8.2 Full Edition build 220.127.116.110 on 2014-03-21T01:53:08
JetBrains ReSharper 8.2 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.
Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Microsoft Azure Mobile Services Tools 1.3
Microsoft Azure Mobile Services Tools
NuGet Package Manager 2.8.50926.663
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PowerShell Tools 1.3
Provides file classification services using PowerShell
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
Release Management for Visual Studio Package 1.0
Release Management for Visual Studio
Manages References to Shared Projects
SQL Server Data Tools 12.0.41012.0
Microsoft SQL Server Data Tools
Windows Azure Tools 2.3
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.3.20320.1602
Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
Xamarin 18.104.22.168 (e7bacad)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 22.214.171.124 (49a04b966feb40dfdba49d57ba16249b66d606a6)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 126.96.36.199 (22574c9788a6d607f8d119e4d645f5ce5a346553)
Visual Studio extension to enable development for Xamarin.iOS.
> Nuget will error because it doesn't know what TargetFrameworkVersion it's using
> as we only have the following in the .csproj:
$(AndroidUseLatestPlatformSdk) doesn't mean you can completely omit $(TargetFrameworkVersion). It just means that we'll attempt to *update* the $(TargetFrameworkVersion) during the build process.
(It never occurred to me that the value *could* be omitted. What are you doing to create such a situation?!)
That said, the probable fix is that we need to execute _SetLatestTargetFrameworkVersion earlier.
Please provide a complete test project and diagnostic build output.
This is a duplicate of Bug #26079.
*** This bug has been marked as a duplicate of bug 26079 ***