You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to refer IdentityModel library which is targeting .netstandared1.4 from our library targeting .netstandared2.0. But we also refer to HttpClient in our library as well. Ideally .netstandared1.4 targeted library is callable from higher version targeted library. But IdentityModel also references System.Net.Http outside of the standard library. So we ended up with 2 HttpClients and failed to build our project. What is the proper way to fix this? Should we wait until newer version targeting .netstandared2.0?
The text was updated successfully, but these errors were encountered:
This issue is related to this StackOverflow question. https://stackoverflow.com/questions/44211741/how-to-resolve-httpclient-exists-in-multiple-libs/44299428.
We need to refer IdentityModel library which is targeting
.netstandared1.4
from our library targeting.netstandared2.0
. But we also refer toHttpClient
in our library as well. Ideally .netstandared1.4 targeted library is callable from higher version targeted library. But IdentityModel also referencesSystem.Net.Http
outside of the standard library. So we ended up with 2HttpClient
s and failed to build our project. What is the proper way to fix this? Should we wait until newer version targeting.netstandared2.0
?The text was updated successfully, but these errors were encountered: