MaddieMo1 / Unity_EPPlus

Unity Excel数据表读写
3 stars 1 forks source link

IL2CPP NotSupportedException:System.Configuration.ConfigurationManager #2

Open bhupiister opened 3 years ago

bhupiister commented 3 years ago

While building for mono on Android, it works fine. While i was trying to build for IOS with IL2CPP, it failed with this error NotSupportedException:System.Configuration.ConfigurationManager::get_AppSettings

Can you help?

Flem100 commented 3 years ago

I have the same problem. It seems to be because ILCPP doesn't support ConfigurationManager https://stackoverflow.com/questions/60713245/is-there-a-way-to-prevent-assembly-stripping-in-unity-for-the-il2cpp-compiler-in But I would then like to know if there's a workaround, also because there is no alternative to ILCPP when u build for WebGL and UWP. I tried to install the nuget packakage System.Configuration.ConfigurationManager, suggested somewhere else, but it didn't help.

bhupiister commented 3 years ago

@Flem100 I think i was able to solve it. Because my current app has this functionality now. Do let me know if you need help.

Flem100 commented 3 years ago

@bhupiister I think i was able to solve it. Because my current app has this functionality now. Do let me know if you need help.

Yes please :)

Flem100 commented 3 years ago

@bhupiister You are very welcome to tell me what you did :)

gabetoth-alder commented 2 years ago

@Flem100 I think i was able to solve it. Because my current app has this functionality now. Do let me know if you need help.

@bhupiister Please share your solution!

Flem100 commented 2 years ago

Yes, please share 😀

AndriKalyta commented 3 weeks ago

@bhupiister please share XD