JB I did a split diff approach on commits and found the breaking commit
everything works for a WP7 assembly until ImageWriter.cs changes in this commit https://github.com/jbevain/cecil/commit/7d9999c60bd538a19a84f1211064ef104f07ee82 So i re added int GetStrongNameLength () { if ((module.Attributes & ModuleAttributes.StrongNameSigned) == 0) return 0; To master and now it works for a WP7 assembly On Wednesday, 23 May 2012 20:45:35 UTC+10, Simon wrote: > > A better repo > a working and a failing version of the same assembly > > On Monday, 21 May 2012 08:51:26 UTC+10, Simon wrote: >> >> cool >> >> Let me know if there is any more I can do. >> >> >> On Sunday, 20 May 2012 19:26:52 UTC+10, Jb Evain wrote: >>> >>> Thanks, I'll have a look. >>> >>> On May 20, 2012, at 8:46 AM, Simon wrote: >>> >>> > same problem >>> > >>> > On Sunday, 20 May 2012 16:12:17 UTC+10, Jb Evain wrote: >>> > Hey, >>> > >>> > Can you try with the tip of master? >>> > >>> > Thanks, >>> > >>> > Jb >>> > >>> > On 20 mai 2012, at 05:43, Simon <[email protected]> wrote: >>> > >>> >> I have a WP7 app I am modifying and get the blow error when i run the >>> app >>> >> File or assembly name >>> '\Applications\Install\21BDC7CD-F871-4A38-9E19-082B0F6D3C1C\Install\PhoneApp1.dll', >>> >>> or one of its dependencies, was not found. >>> >> >>> >> So I paired back the cecil code so it just round trips the assembly >>> ie load and save the assembly and I still get the error >>> >> >>> >> The problem only happens in 0.9.5.3. If I roll back to 0.9.5.2 it >>> works >>> >> >>> >> I have attached before and after files. >>> >> >>> >> Any ideas? >>> >> >>> >> >>> >> >>> >> -- >>> >> -- >>> >> mono-cecil >>> >> <File.zip.txt> >>> > >>> > -- >>> > -- >>> > mono-cecil >>> >>> -- -- mono-cecil
