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!
From this page within the GitHub
project here it does not look like this particular GitHub project has a WindowsPhone
version as part of it.
On the official Xamarin.Auth
component v1.2.3.1
here it looks like this is only available for iOS
and Android
at present.
The 'experimental' branch I think you require is here, which the src
folder has a WindowsPhone
version included.
If you download that, and include the Xamarin.Auth.WindowsPhone.csproj
you 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 WindowsPhone
project as it will complain about an Import
statement being incorrect.
You need to manually edit the Xamarin.Auth.WindowsPhone.csproj
and remove the line:-
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.7\tools\Microsoft.Bcl.Build.targets" />
Also, the solution Xamarin.Auth.sln
, doesn't include the WindowsPhone
project by default.
Once you've done the previous change of removing the Import
, you will be able to add the WindowsPhone
project to the solution and it will load up without complaining.
When you do a compilation on the Xamarin.Auth.WindowsPhone
project it will retrieve the latest Microsoft.BCL
reference and restore it form NuGet
and compile the project successfully for WindowsPhone.
You will then have your DLL
s in the Bin
folder that you can reference from your other project.