Skip to content

Commit

Permalink
[msbuild] Add a public 'CompileImageAssetsDependsOn' property. Fixes x…
Browse files Browse the repository at this point in the history
…amarin#16065.

Add a public 'CompileImageAssetsDependsOn' property, so that MAUI can inject tasks that
must be completed before we compile image assets:

```xml
<PropertyGroup>
	<CompileImageAssetsDependsOn>
		$(CompileImageAssetsDependsOn);
		ResizetizeCollectItems;
	</CompileImageAssetsDependsOn>
</PropertyGroup>
```

Fixes xamarin#16065.
  • Loading branch information
rolfbjarne authored and vs-mobiletools-engineering-service2 committed Sep 23, 2022
1 parent e5d87c3 commit c67e346
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions msbuild/Xamarin.Shared/Xamarin.Shared.targets
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,7 @@ Copyright (C) 2018 Microsoft. All rights reserved.

<PropertyGroup>
<_CompileImageAssetsDependsOn>
$(CompileImageAssetsDependsOn);
$(_CompileImageAssetsDependsOn);
_DetectAppManifest;
_DetectSdkLocations;
Expand Down

0 comments on commit c67e346

Please sign in to comment.