msdxbelux / xamarinalliance Goto Github PK
View Code? Open in Web Editor NEWLearn about developing Xamarin apps using the Xamarin Alliance, organized by the MSFT Belux DX team
License: MIT License
Learn about developing Xamarin apps using the Xamarin Alliance, organized by the MSFT Belux DX team
License: MIT License
The project dont run because this error.
Hi when I try to install the Microsoft.Azure.Mobile.Client nugget package I receive this message
Attempting to gather dependency information for multiple packages with respect to project 'XamarinAllianceApp', targeting '.NETPortable,Version=v4.5,Profile=Profile259' GET https://api.nuget.org/v3/registration2-gz/microsoft.bcl/index.json GET https://api.nuget.org/v3/registration2-gz/newtonsoft.json/index.json GET https://api.nuget.org/v3/registration2-gz/xamarin.forms/index.json GET https://api.nuget.org/v3/registration2-gz/microsoft.azure.mobile.client/index.json GET https://api.nuget.org/v3/registration2-gz/microsoft.bcl.build/index.json GET https://api.nuget.org/v3/registration2-gz/microsoft.net.http/index.json OK https://api.nuget.org/v3/registration2-gz/newtonsoft.json/index.json 198ms OK https://api.nuget.org/v3/registration2-gz/xamarin.forms/index.json 712ms GET https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/1.0.6186/1.4.4.6387.json GET https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/1.4.4.6391/2.3.3.180.json GET https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/2.3.3.193/2.3.5.255-pre5.json OK https://api.nuget.org/v3/registration2-gz/microsoft.azure.mobile.client/index.json 1325ms OK https://api.nuget.org/v3/registration2-gz/microsoft.net.http/index.json 1839ms OK https://api.nuget.org/v3/registration2-gz/microsoft.bcl.build/index.json 2351ms OK https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/1.0.6186/1.4.4.6387.json 2150ms OK https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/1.4.4.6391/2.3.3.180.json 2662ms OK https://api.nuget.org/v3/registration2-gz/xamarin.forms/page/2.3.3.193/2.3.5.255-pre5.json 3176ms OK https://api.nuget.org/v3/registration2-gz/microsoft.bcl/index.json 4526ms Total number of results gathered : 6 Gathering dependency information took 4,56 sec Summary of time taken to gather dependencies per source : https://api.nuget.org/v3/index.json - 14,36 sec Attempting to resolve dependencies for multiple packages. Resolving dependency information took 0 ms Resolving actions install multiple packages Retrieving package 'Microsoft.Azure.Mobile.Client 4.0.0' from 'nuget.org'. Retrieving package 'Newtonsoft.Json 10.0.3' from 'nuget.org'. Retrieving package 'Xamarin.Forms 2.3.4.247' from 'nuget.org'. Removed package 'Xamarin.Forms 2.0.1.6495' from 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. Removed reference 'Xamarin.Forms.Core' from project 'XamarinAllianceApp'. Removed reference 'Xamarin.Forms.Platform' from project 'XamarinAllianceApp'. Removed reference 'Xamarin.Forms.Xaml' from project 'XamarinAllianceApp'. Successfully uninstalled 'Xamarin.Forms 2.0.1.6495' from XamarinAllianceApp Removed package 'Microsoft.Azure.Mobile.Client 3.1.0' from 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. Removed reference 'Microsoft.WindowsAzure.Mobile' from project 'XamarinAllianceApp'. Successfully uninstalled 'Microsoft.Azure.Mobile.Client 3.1.0' from XamarinAllianceApp Removed package 'Newtonsoft.Json 6.0.4' from 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. Removed reference 'Newtonsoft.Json' from project 'XamarinAllianceApp'. Successfully uninstalled 'Newtonsoft.Json 6.0.4' from XamarinAllianceApp For adding package 'Microsoft.Azure.Mobile.Client.4.0.0' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. Install failed. Rolling back... Package 'Microsoft.Azure.Mobile.Client 4.0.0' does not exist in project 'XamarinAllianceApp' For adding package 'Newtonsoft.Json 6.0.4' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. For adding package 'Newtonsoft.Json 6.0.4' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. Package 'Newtonsoft.Json 6.0.4' already exists in folder '/Users/drdran/Documents/WorkSpace.nosync/XamarinAlliance/Challenge 3/src/XamarinAlliance/packages' Added reference 'Newtonsoft.Json' to project 'XamarinAllianceApp'. Added package 'Newtonsoft.Json 6.0.4' to 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. WARNING: Newtonsoft.Json Package contains PowerShell script 'tools/install.ps1' which will not be run. For adding package 'Microsoft.Azure.Mobile.Client 3.1.0' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. For adding package 'Microsoft.Azure.Mobile.Client 3.1.0' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. Package 'Microsoft.Azure.Mobile.Client 3.1.0' already exists in folder '/Users/drdran/Documents/WorkSpace.nosync/XamarinAlliance/Challenge 3/src/XamarinAlliance/packages' Added reference 'Microsoft.WindowsAzure.Mobile' to project 'XamarinAllianceApp'. Added package 'Microsoft.Azure.Mobile.Client 3.1.0' to 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. For adding package 'Xamarin.Forms 2.0.1.6495' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. For adding package 'Xamarin.Forms 2.0.1.6495' to project 'XamarinAllianceApp' that targets 'portable45-net45+win8+wp8+wpa81'. Package 'Xamarin.Forms 2.0.1.6495' already exists in folder '/Users/drdran/Documents/WorkSpace.nosync/XamarinAlliance/Challenge 3/src/XamarinAlliance/packages' Added reference 'Xamarin.Forms.Core' to project 'XamarinAllianceApp'. Added reference 'Xamarin.Forms.Platform' to project 'XamarinAllianceApp'. Added reference 'Xamarin.Forms.Xaml' to project 'XamarinAllianceApp'. Added package 'Xamarin.Forms 2.0.1.6495' to 'packages.config' Added file 'packages.config' to project 'XamarinAllianceApp'. WARNING: Xamarin.Forms Package contains PowerShell script 'tools/init.ps1' which will not be run. Package 'Microsoft.Azure.Mobile.Client 4.0.0' does not exist in folder '/Users/drdran/Documents/WorkSpace.nosync/XamarinAlliance/Challenge 3/src/XamarinAlliance/packages' Executing nuget actions took 3,92 sec Could not install package 'Microsoft.Azure.Mobile.Client 4.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.
Any suggestion? because I'm blocked and I can't continue to challenge 3 4 and 5 :(
Hello,
I have been having a reoccurring problem when connecting to Azure services. The error which occurs is as follows:
"The request could not be completed (internal server error)".
I even tried with other applications, but I recieve the same error which states "Internal Server Error".
Would you'd be able to give me any advice as to what the issue may be and how I can resolve it?
Kind regards
Alessandro
Hi,
of course I have read your notice "IMPORTANT: make sure to use version 7.2.1 of the NuGet package because there is an issue with the v8 release that results in a 'Method not implemented exception' at runtime."
But as far as I can see, versions below 8.0 are not compatible with portable class libs. So the code has to be implemented in each project, UWP, Android, AND iOS, so there's absolutely no benefit in using Xamarin.
So how are we supposed to implement this feature in a meaningful way?
Is there another way of calling the API?
I have been having this typical periodic problem for quite some time now.
The issue is that in a Xamarin.Forms project, then in the Xamarin.Android project beneath, references are periodically lost to every Xamarin.Android.Support.XXX.dll DLL's.
In addition sometimes the System.ObjectModel in Xamarin.Android project is also lost.
When I look at one of these problematic references inside Xamarin.Android project, then I can see that the path is indeed empty for the reference, hence I try to remove the reference and rea dd it manually to its DLL.
Sometimes this works, most of the time a Clean of the Xamarin.Android project and successive Rebuild of the project fixes the problem. Sometimes the problem is also resolved by removing the Xamarin.Forms Nuget package, which in turn removes the Xamarin.Android nuget packages it contains, and then reinstall the Xamarin.Forms nuget package.
However now after trying all of the above, the project will still not deploy, but for some reason it compiles fine it seems after the Rebuild. Deploying to Android device fails, with these exceptions:
The referenced component 'Xamarin.Android.Support.Media.Compat' could not be found.
unknown enum constant Scope.LIBRARY_GROUP.
I have researched for some time for a solution to this annoying problem and can see that a lot of people are having the same problems. Some people don't have problems with this in Xamarin Studio on Mac and most have problems in Visual Studio on windows, but it is nonconclusive.
I have never experienced that the references gets corrupted periodically in any .Net Visual Studio project, so I think this is a bug specific to Xamarin and its implementation.
Sometimes the compiler complains that there is ambuigity between some of the Xamarin.Android.Support DLL'. I have a Visual Studio 2015 installation (Xamarin is also installed with this Visual Studio version) on the same machine as an Visual Studio 2017, which I use for developing Xamarin apps. So there is sometimes some ambuigity between the DLL' installed with Visual Studio 2015 in C:\ProgramFiles\VisualStudio\XXX, but I cant see how this should create this problem?
Do you have any suggestion on what to do, other than reinstall Visual Studio and hope for the best?
Hi,
I am following below steps from this link "https://docs.microsoft.com/en-us/mobile-center/azure/identity/facebook". I am not getting point 3. Where in Facebook developer site I have to enter "https://mobile-{app id}.azurewebsites.net/.auth/login/facebook/callback" ? Someone please help me so that I can complete the challenge.
Register your application with Facebook
Thanks.
Dear,
When trying to complete Challenge 3, I added the Microsoft.Azure.Mobile.Client library to the shared project. However, during runtime I got the error referenced in the title. Initial searches yielded these suggestions: https://github.com/Azure/azure-mobile-apps-net-client/issues/271. So I added Microsoft.Azure.Mobile.Client to the Droid project without changing any additional code and then the error disappeared. Is this normal behaviour or is there any explanation as to why this happens?
If you need more details, please feel free to ask.
Hi all,
I followed your guide for the 4° step.
I'm developing the application on iOS.
Unfortunately when I try to perform the LoginAsync method I get the following error:
(Google)
403
Error: disallowed_useragent
I didn't find a workaround on the web.
It seems that the Azure ddl uses a WebView but Google has deprecated it.
I am a developer from Pakistan, just curious to know how developers from Pakistan can participate in XamarinAlliance challenges ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.