Skip to content

Commit 7b3d97d

Browse files
authored
Merge pull request #223 from unoplatform/mergify/bp/unorel/winui/7.1.200/pr-222
fix: Adjust for invalid embedded resource inclusion (backport #222)
2 parents b618eb8 + 3a2e3b8 commit 7b3d97d

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

CommunityToolkit.WinUI.UI.Controls.DataGrid/CommunityToolkit.WinUI.UI.Controls.DataGrid.csproj

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<CustomToolNamespace>$(RootNamespace)</CustomToolNamespace>
2121
<!-- The 'ManifestResourceName' metadata changes the default manifest naming scheme -->
2222
<ManifestResourceName>$(RootNamespace).%(Filename)</ManifestResourceName>
23-
<LogicalName>$(RootNamespace).%(Filename).resources</LogicalName>
2423
</EmbeddedResource>
2524
<Compile Update="Properties\Resources.Designer.cs">
2625
<AutoGen>True</AutoGen>
@@ -29,8 +28,18 @@
2928
</Compile>
3029
</ItemGroup>
3130

32-
33-
<!-- BEGIN UNO SPECIFIC -->
31+
<Target Name="AdjustResources" BeforeTargets="_UnoEmbeddedResourcesInjection">
32+
<!--
33+
Workaround for issue fixed in later uno where existing
34+
embedded resources are overridden incorrectly
35+
https://github.com/unoplatform/uno/pull/16522
36+
-->
37+
<ItemGroup>
38+
<EmbeddedResource Remove="@(EmbeddedResource)" Condition="'%(EmbeddedResource.LogicalName)'==''" />
39+
</ItemGroup>
40+
</Target>
41+
42+
<!-- BEGIN UNO SPECIFIC -->
3443
<PropertyGroup>
3544
<TargetFrameworks>$(TargetFrameworksOverride)</TargetFrameworks>
3645
<NoWarn>$(NoWarn);Uno0001;NU1701</NoWarn>

version.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "7.1.202",
2+
"version": "7.1.203",
33
"publicReleaseRefSpec": [
44
"^refs/heads/main$", // we release out of main
55
"^refs/heads/dev$", // we release out of dev
@@ -15,4 +15,4 @@
1515
"enabled": false
1616
}
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)