Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Xamarin IOS sample does not work with linker set to "Link All" #13

Closed
jorgenstorlie opened this issue Oct 19, 2016 · 1 comment
Closed
Labels

Comments

@jorgenstorlie
Copy link

I want to link all assemblies , but it does not work

I got this error:

The type initializer for 'Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext' threw an exception.

Is it any workaround or fix for this?

@jmprieur jmprieur added the Fixed label Sep 7, 2017
@jmprieur
Copy link
Contributor

jmprieur commented Sep 7, 2017

This is now fixed (in ADAL.NET).
The WebProxyProvider in the plaform specific code needed to be marked with an attribute to prevent it from being removed during the build when the Link all assemblies was chosen (See here for more info)

@jmprieur jmprieur closed this as completed Sep 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants