c# - Is there a limit to the size of a method that can be used in Windows Phone 8? -
i have working application windows phone 7 trying recreate on windows phone 8. when deploy app attached device (nokia 1020) following error message: deployment optmization failed - “method (s) exceeded maximum size limit”. i'm using vs2013 ultimate windows phone sdk 8.0 (10/30/2012) , sdk 8.0 update 3 emulators package , sdk 8.0 update windows phone 8.0.10322.
and works fine when use smaller dataset intended debugging. error occurs when change using 2 small arrays (50 integers , 50 strings) release versions have 101,000 members. while these large , responsible error worked fine in wp7. however, in wp8 deployment optimization - great.
so know maximum size limit method?
as turns out in windows phone 8, there 256-kb limit on method's common intermediate language size described here. halfway down article describes cil method size , states "app installation succeeded under windows phone os 7.1 may fail under windows phone 8. should affect extremely small number of apps."
unfortunately includes us, we'll break smaller parts , run using new asynchronous pattern.
Comments
Post a Comment