I need Xamarin.Auth for my WindowsPhone project in Xamarin. There is an experimental branch on GitHub: https://github.com/xamarin/Xamarin.Auth.git
How do i add this as a reference to my project? I can't find any DLL?
Thanks in advance!
I need Xamarin.Auth for my WindowsPhone project in Xamarin. There is an experimental branch on GitHub: https://github.com/xamarin/Xamarin.Auth.git
How do i add this as a reference to my project? I can't find any DLL?
Thanks in advance!
Copyright © 2021 Jogjafile Inc.
From this page within the
GitHubproject here it does not look like this particular GitHub project has aWindowsPhoneversion as part of it.On the official
Xamarin.Authcomponentv1.2.3.1here it looks like this is only available foriOSandAndroidat present.The 'experimental' branch I think you require is here, which the
srcfolder has aWindowsPhoneversion included.If you download that, and include the
Xamarin.Auth.WindowsPhone.csprojyou will be able to compile it and consume once referenced.Update 1:-
For the 'experimental' branch, downloading the source isn't enough to load the
WindowsPhoneproject as it will complain about anImportstatement being incorrect.You need to manually edit the
Xamarin.Auth.WindowsPhone.csprojand remove the line:-Also, the solution
Xamarin.Auth.sln, doesn't include theWindowsPhoneproject by default.Once you've done the previous change of removing the
Import, you will be able to add theWindowsPhoneproject to the solution and it will load up without complaining.When you do a compilation on the
Xamarin.Auth.WindowsPhoneproject it will retrieve the latestMicrosoft.BCLreference and restore it formNuGetand compile the project successfully for WindowsPhone.You will then have your
DLLs in theBinfolder that you can reference from your other project.