This repository was archived by the owner on May 1, 2024. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
Fix disc full enumeration by checking that $(MonoAndroidAssetsPrefix) is not empty string #46
          
     Closed
      
      
    
  
     Closed
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            4 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      32f97da
              
                added check for $(MonoAndroidAssetsPrefix) not being empty string
              
              
                moljac adcd5e3
              
                version bump
              
              
                moljac 9c8e98e
              
                Update src/Xamarin.Legacy.Sdk/Sdk/AutoImport.Android.props
              
              
                moljac 479d967
              
                MonoAndroidAssetsPrefix and MonoAndroidResourcePrefix emtpy string ch…
              
              
                moljac File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -10,7 +10,8 @@ NOTE! everything must be conditioned behind: | |
| <Using Include="Android.OS.Bundle" Alias="Bundle" Platform="Android" Sdk="Xamarin.Legacy.Sdk" /> | ||
| </ItemGroup> | ||
|  | ||
| <ItemGroup Condition=" ('$(TargetPlatformIdentifier)' == 'android' or $(TargetFramework.StartsWith ('MonoAndroid', StringComparison.OrdinalIgnoreCase))) and '$(EnableDefaultXamarinLegacySdkItems)' == 'true' "> | ||
| <ItemGroup Condition=" ('$(TargetPlatformIdentifier)' == 'android' or $(TargetFramework.StartsWith ('MonoAndroid', StringComparison.OrdinalIgnoreCase))) and '$(EnableDefaultXamarinLegacySdkItems)' == 'true' | ||
| and ('$(MonoAndroidAssetsPrefix)' != '' and '$(MonoAndroidResourcePrefix)' != '') "> | ||
| <!-- Default Resource file inclusion --> | ||
| <!-- https://developer.android.com/guide/topics/resources/providing-resources --> | ||
| <AndroidResource Include="$(MonoAndroidResourcePrefix)\*\*.xml" /> | ||
|  | @@ -24,6 +25,9 @@ NOTE! everything must be conditioned behind: | |
| <AndroidResource Include="$(MonoAndroidResourcePrefix)\raw\*" Exclude="$(MonoAndroidResourcePrefix)\raw\.*" /> | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we make the same checks for  If there are several lines, we can put them in an  There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 
 Sure we can. I could not find other prop in the chat. 
 Changed. Both  | ||
| <!-- Default Asset file inclusion --> | ||
| <AndroidAsset Include="$(MonoAndroidAssetsPrefix)\**\*" Exclude="$(MonoAndroidAssetsPrefix)\**\.*\**" /> | ||
| </ItemGroup> | ||
|  | ||
| <ItemGroup Condition=" ('$(TargetPlatformIdentifier)' == 'android' or $(TargetFramework.StartsWith ('MonoAndroid', StringComparison.OrdinalIgnoreCase))) and '$(EnableDefaultXamarinLegacySdkItems)' == 'true' "> | ||
| <!-- Default XPath transforms for bindings --> | ||
| <TransformFile Include="Transforms*.xml" /> | ||
| <TransformFile Include="Transforms\**\*.xml" /> | ||
|  | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make an
<ItemGroup>block for$(MonoAndroidAssetsPrefix)and one for$(MonoAndroidResourcePrefix)?There is probably a case where one could be blank and not the other.