Forum Xamarin.iOS

EXE and DLL in IPA?

kwlkwl USInsider, Developer Group Leader ✭✭

Looking at the ipa and xcarchive files I noticed that even in release builds these archives contain all exe and dll files from our project that can easily be opened using Reflector. I'm pretty sure these files are not needed at runtime. Why are they in the archive? Is there an option to not bundle these files? If not, can I delete them manually?

Posts

  • RolfBjarneKvingeRolfBjarneKvinge USXamarin Team Xamurai

    These files are needed at runtime, they contain metadata (which the runtime needs, and which is also used if you use reflection) and any embedded resources you might have.

    Note however that we remove all the IL code (if you open these files in Reflector, you'll see that every method is empty), which is not needed at runtime.

  • kwlkwl USInsider, Developer Group Leader ✭✭

    Great, thank you for this information!

Sign In or Register to comment.