I'm hoping someone can help me on this : because of the usage of System.Net.Http package, I'm not anymore able to load an embedded resource with var assembly = GetType (MyClass).GetTypeInfo ().Assembly;
. I think this has something to do with the PCL associated profile which is "Profile78", no ? Do you have any idea to get around this problem ?
Thx in advance for your help ! =)
There is some weirdness with GetTypeInfo based on whether it is IReflectableType or not. Does this code change resolve the issue without causing other issues?
Assembly assembly = typeof(MyClass).Assembly;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.