This repository has been archived by the owner on May 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[android] guard against accidental \**\* wildcards (#49)
Context: dotnet/android#7837 Context: #46 I ended up making this change in xamarin-android to avoid a potential issue in all .NET projects, so bringing it here as well. In cases where the `android` workload is not installed, Xamarin.Legacy.Sdk can accidentally wildcard your entire disk: MSBUILD : warning MSB5029: The value “\**\.*\**” of the “Exclude” attribute in element <ItemGroup> in file “/Users/moljac/.nuget/packages/xamarin.legacy.sdk/0.2.0-alpha2/Sdk/AutoImport.Android.props (26,61)” is a wildcard that results in enumerating all files on the drive, which was likely not intended. Check that referenced properties are always defined. Add checks that `$(MonoAndroidAssetsPrefix)` and `$(MonoAndroidResourcePrefix)` are not blank.
- Loading branch information