Bug 57585 - Updating Microsoft.Azure.Mobile.Client Nuget package to 4.0.0 breaks Cross-platform App template
Summary: Updating Microsoft.Azure.Mobile.Client Nuget package to 4.0.0 breaks Cross-pl...
Status: CONFIRMED
Alias: None
Product: Components
Classification: Xamarin
Component: Visual Studio Integration ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-06-19 08:01 UTC by Chad Magendanz
Modified: 2017-06-19 09:53 UTC (History)
3 users (show)

Tags:
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 for Bug 57585 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Chad Magendanz 2017-06-19 08:01:49 UTC
Repo steps:
- Create a New Project in Visual Studio 2017
- Select Cross Platform App (Xamarin)
- Select Master Detail and check option to Host in the Cloud
- Build resultant solution

Result: Builds fine

- Open Manage Nuget Packages for Solution and update all packages (including Microsoft.Azure.Mobile.Client to 4.0.0)
- Rebuild solution

Result: (on both Android and iOS)

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1501	No overload for method 'LoginAsync' takes 3 arguments	TRC.Android	C:\Users\Chad\Documents\Visual Studio 2017\Projects\TRC\TRC.Android\Authentication\SocialAuthenticator.cs	20	Active

This seems to be because MobileServiceClientExtensions are now missing.

Note: If you revert to Microsoft.Azure.Mobile.Client 3.1.0, the problem goes away.
Comment 1 Adam Hartley [MSFT] 2017-06-19 09:53:43 UTC
I was able to reproduce this issue by following the steps outlined above. Note: I did not update the Android Support packages. Reverting the Microsoft.Azure.Mobile.Client package back to 3.1.0 resolved the error. Marking as confirmed.

Error Message:

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1501	No overload for method 'LoginAsync' takes 3 arguments	App2.Android	c:\users\adam\Source\Repos\App2\App2\App2.Android\Authentication\SocialAuthenticator.cs	20	Active

System Info:

Microsoft Visual Studio Enterprise 2017 
Version 15.2 (26430.13) Release
VisualStudio.15.Release/15.2.0+26430.13
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Visual Basic 2017   00369-60000-00001-AA361
Microsoft Visual Basic 2017

Visual C# 2017   00369-60000-00001-AA361
Microsoft Visual C# 2017

Visual C++ 2017   00369-60000-00001-AA361
Microsoft Visual C++ 2017

Visual F# 4.1   00369-60000-00001-AA361
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package   8.6.00404.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017   15.0.30503.0
ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017   5.2.50303.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0

Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.

Azure Data Lake Tools for Visual Studio   2.2.5000.0
Microsoft Azure Data Lake Tools for Visual Studio

Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Fabric.ApplicationInsights   1.0
Allows user to instrument their Service Fabric projects for Application Insights.

Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript UWP Project System   2.0
JavaScript UWP Project System

KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info

Merq   1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Hive Query Language Service   2.2.5000.0
Language service for Hive query

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio   Mono.Debugging.VisualStudio
Support for debugging Mono processes with Visual Studio.

Node.js Tools   1.3.50417.1
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager   4.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools

ToolWindowHostedEditor   1.0
Hosting json editor into a tool window

TypeScript   2.2.2.0
TypeScript tools for Visual Studio

Visual C++ for Linux Development   1.0.6
Visual C++ for Linux Development

Visual Studio Tools for Universal Windows Apps   15.0.26430.06
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.

Xamarin   4.5.0.486 (fec6f88)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK   7.3.1.2 (9dbc4c5)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   10.10.0.37 (ad35de4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.