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
MZ????@???  
?!?L?!This program cannot be run in DOS mode.

$PELo??O?!$B @ 
?@??AS`?
`A  
H.text$" $ 
`.rsrc`&@@.reloc
?*@BBH 
1@?"?
?0?0{
+*"}*0b}(
?  s
(
((
(
?
-$(
o
o
o      
(

o
*
*
*
*
*0(
?
-(
*0(
?
-(
*0T{?
-+Cs

((?s
o
(?s
o
}*09(
(?
-
((
(?s
o
*0+{?
-+}rps
(
*0?{      ?
-8?}    r=ps
(
r?p(
t}r?p(
t}r?p(
t}r?p(
t}r?p(
t}*F(
(
*?
????lSystem.Resources.ResourceReader, mscorlib, Version=4.0.0.0, 
Culture=neutral, 
PublicKeyToken=b77a5c561934e089#System.Resources.RuntimeResourceSetPADPADP?ji?!p?app.xamlmainpage.xamlO!J?<Application
 
    x:Class="PhoneApp2.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";
    
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">

    <!--Application Resources-->
    <Application.Resources>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" 
Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>!q        ?<phone:PhoneApplicationPage 
    x:Class="PhoneApp2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";
    
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008";
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006";
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" 
Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" 
Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"></Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton 
IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton 
IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>BSJB
v2.0.50727t#~t?#Strings(
#US(#GUID8#Blob
W?             ?3, 
(w
???[Aj?????
@X
?X
?X
?X

X
6X
h???
??
??Y???A?A??
?8?H?d??????? 
>?U?r?????????!;[}????jsa
??
???-?=?S?n?x??P ?9(h 
?G-t ?3? ??q? ??x? ??? 
?"?? ?M?
!???
<!?/?!????!??"???"?3U??????????????3
   33>     ?D1?N     ?R   
?W9\A%aI?fInk1G?3?3>????3>??       J?   
c??r??3?       ???3????3?3??3??3?3 
3?3?3?!3?)3?13a93?A3?I3?Q3?Y3? .
.2.?
.
.
.3?.;?.#?.+i.??.??.??.C?.?.?
@a????#3?7?
(8AHTPhoneApp2.dllPhoneApp2System.WindowsMicrosoft.PhonemscorlibSystemSystem.CorePhoneApp2.g.resources<Module>AppApplicationphoneApplicationInitialized_contentLoaded<RootFrame>k__BackingFieldPhoneApplicationFrameMicrosoft.Phone.ControlsCompilerGeneratedAttributeSystem.Runtime.CompilerServices.ctorget_RootFrameset_RootFramevalueEventHandler`1ApplicationUnhandledExceptionEventArgsadd_UnhandledExceptionDebuggerSystem.Diagnosticsget_IsAttachedget_Currentget_HostSilverlightHostSystem.Windows.Interopget_SettingsSettingsset_EnableFrameRateCounterPhoneApplicationServiceMicrosoft.Phone.Shellset_UserIdleDetectionModeIdleDetectionModeApplication_LaunchingLaunchingEventArgssendereApplication_ActivatedActivatedEventArgsApplication_DeactivatedDeactivatedEventArgsApplication_ClosingClosingEventArgsBreakRootFrame_NavigationFailedNavigationFailedEventArgsSystem.Windows.NavigationApplication_UnhandledExceptionNavigatedEventHandlerFrameSystem.Windows.Controlsadd_NavigatedNavigationFailedEventHandleradd_NavigationFailedInitializePhoneApplicationget_RootVisualUIElementset_RootVisualremove_NavigatedCompleteInitializePhoneApplicationNavigationEventArgsUriUriKindLoadComponentInitializeComponentDebuggerNonUserCodeAttributeRootFrameMainPagePhoneApplicationPageLayoutRootGridTitlePanelStackPanelApplicationTitleTextBlockPageTitleContentPanelFrameworkElementFindNameNotifyPropertyWeaverMsBuildTaskAssemblyProductAttributeSystem.ReflectionAssemblyCopyrightAttributeAssemblyTrademarkAttributeRuntimeCompatibilityAttributeAssemblyTitleAttributeAssemblyDescriptionAttributeAssemblyConfigurationAttributeAssemblyCompanyAttributeAssemblyFileVersionAttributeComVisibleAttributeSystem.Runtime.InteropServicesGuidAttributeTargetFrameworkAttributeSystem.Runtime.VersioningCompilationRelaxationsAttributeNeutralResourcesLanguageAttributeSystem.ResourcesDebuggableAttributeDebuggingModes;/PhoneApp2;component/App.xamlE/PhoneApp2;component/MainPage.xamlLayoutRootTitlePanel!ApplicationTitlePageTitleContentPanel?)o??D????^?i|???y?$????l?
                            
  ! % ) - 1 5 9 
=  A I M M Q YU(      eim 
        PhoneApp2Copyright ©  
2012TWrapNonExceptionThrows
1.0.0.0)$075c475b-a680-4061-90cf-eec91c48290fu/Silverlight,Version=v4.0,Profile=WindowsPhone71TFrameworkDisplayName)Silverlight
 4.0 Windows Phone 7.1 Profile 
en-US 
??o??OL|A|#RSDSR5????9@???+%b?D:\Code\PhoneApp2\PhoneApp2\obj\Debug\PhoneApp2.pdb?AB
 B_CorDllMainmscoree.dll?% 
@?0?HX`??4VS_VERSION_INFO????DVarFileInfo$Translation?StringFileInfo?000004b0<
FileDescriptionPhoneApp20FileVersion1.0.0.0<InternalNamePhoneApp2.dllHLegalCopyrightCopyright
 ?  
2012DOriginalFilenamePhoneApp2.dll4
ProductNamePhoneApp24ProductVersion1.0.0.08Assembly
 
Version1.0.0.0@
 
2
MZ????@???  
?!?L?!This program cannot be run in DOS mode.

$PELL??O?!"?A @ 
?@?HAS`?
?@  
H.text?! " 
`.rsrc`$@@.reloc
?(@B?AH?0@?"?
0{
+*"}*0b}(
?  s
(
((
(
?
-$(
o
o
o      
(

o
*
*
*
*
*0(
?
-(
*0(
?
-(
*0T{?
-+Cs

((?s
o
(?s
o
}*09(
(?
-
((
(?s
o
*0+{?
-+}rps
(
*0?{      ?
-8?}    r=ps
(
r?p(
t}r?p(
t}r?p(
t}r?p(
t}r?p(
t}*F(
(
*?
????lSystem.Resources.ResourceReader, mscorlib, Version=4.0.0.0, 
Culture=neutral, 
PublicKeyToken=b77a5c561934e089#System.Resources.RuntimeResourceSetPADPADP?ji?!p?app.xamlmainpage.xamlO!J?<Application
 
    x:Class="PhoneApp2.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";
    
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">

    <!--Application Resources-->
    <Application.Resources>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" 
Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>!q        ?<phone:PhoneApplicationPage 
    x:Class="PhoneApp2.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation";
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml";
    
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008";
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006";
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="MY APPLICATION" 
Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="page name" Margin="9,-7,0,0" 
Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"></Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton 
IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton 
IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>BSJB
v2.0.50727t#~t?#Strings(
#US(#GUID8#Blob
W?             ?3, 
(w
???[Aj?????
@X
?X
?X
?X

X
6X
h???
??
??Y???A?A??
?8?H?d??????? 
>?U?r?????????!;[}????jsa
??
???-?=?S?n?x??P ?9(h 
?G-t ?3? ??q? ??x? ??? 
?"?? ?M?
!???
<!?/?!????!??"???"?3U??????????????3
   33>     ?D1?N     ?R   
?W9\A%aI?fInk1G?3?3>????3>??       J?   
c??r??3?       ???3????3?3??3??3?3 
3?3?3?!3?)3?13a93?A3?I3?Q3?Y3? .
.2.?
.
.
.3?.;?.#?.+i.??.??.??.C?.?.?
@a????#3?7?
(8AHTPhoneApp2.dllPhoneApp2System.WindowsMicrosoft.PhonemscorlibSystemSystem.CorePhoneApp2.g.resources<Module>AppApplicationphoneApplicationInitialized_contentLoaded<RootFrame>k__BackingFieldPhoneApplicationFrameMicrosoft.Phone.ControlsCompilerGeneratedAttributeSystem.Runtime.CompilerServices.ctorget_RootFrameset_RootFramevalueEventHandler`1ApplicationUnhandledExceptionEventArgsadd_UnhandledExceptionDebuggerSystem.Diagnosticsget_IsAttachedget_Currentget_HostSilverlightHostSystem.Windows.Interopget_SettingsSettingsset_EnableFrameRateCounterPhoneApplicationServiceMicrosoft.Phone.Shellset_UserIdleDetectionModeIdleDetectionModeApplication_LaunchingLaunchingEventArgssendereApplication_ActivatedActivatedEventArgsApplication_DeactivatedDeactivatedEventArgsApplication_ClosingClosingEventArgsBreakRootFrame_NavigationFailedNavigationFailedEventArgsSystem.Windows.NavigationApplication_UnhandledExceptionNavigatedEventHandlerFrameSystem.Windows.Controlsadd_NavigatedNavigationFailedEventHandleradd_NavigationFailedInitializePhoneApplicationget_RootVisualUIElementset_RootVisualremove_NavigatedCompleteInitializePhoneApplicationNavigationEventArgsUriUriKindLoadComponentInitializeComponentDebuggerNonUserCodeAttributeRootFrameMainPagePhoneApplicationPageLayoutRootGridTitlePanelStackPanelApplicationTitleTextBlockPageTitleContentPanelFrameworkElementFindNameNotifyPropertyWeaverMsBuildTaskAssemblyProductAttributeSystem.ReflectionAssemblyCopyrightAttributeAssemblyTrademarkAttributeRuntimeCompatibilityAttributeAssemblyTitleAttributeAssemblyDescriptionAttributeAssemblyConfigurationAttributeAssemblyCompanyAttributeAssemblyFileVersionAttributeComVisibleAttributeSystem.Runtime.InteropServicesGuidAttributeTargetFrameworkAttributeSystem.Runtime.VersioningCompilationRelaxationsAttributeNeutralResourcesLanguageAttributeSystem.ResourcesDebuggableAttributeDebuggingModes;/PhoneApp2;component/App.xamlE/PhoneApp2;component/MainPage.xamlLayoutRootTitlePanel!ApplicationTitlePageTitleContentPanel<?"??I?=a/@
?`|???y?$????l?                    
          ! % ) - 1 5 
9 =  A I M M Q YU(      
eim         PhoneApp2Copyright ©  
2012TWrapNonExceptionThrows
1.0.0.0)$075c475b-a680-4061-90cf-eec91c48290fu/Silverlight,Version=v4.0,Profile=WindowsPhone71TFrameworkDisplayName)Silverlight
 4.0 Windows Phone 7.1 Profile 
en-US ??L??OL?@?"RSDSgK?/??A?? 
???D:\Code\PhoneApp2\PhoneApp2\obj\Debug\PhoneApp2.pdbpA?A 
?A_CorDllMainmscoree.dll?% 
@?0?HX`??4VS_VERSION_INFO????DVarFileInfo$Translation?StringFileInfo?000004b0<
FileDescriptionPhoneApp20FileVersion1.0.0.0<InternalNamePhoneApp2.dllHLegalCopyrightCopyright
 ?  
2012DOriginalFilenamePhoneApp2.dll4
ProductNamePhoneApp24ProductVersion1.0.0.08Assembly
 
Version1.0.0.0@

?1

Reply via email to