Skip to content

Commit 504cfc7

Browse files
Update Microsoft.ICU.ICU4C.Runtime package reference in v13 example site
1 parent a314d79 commit 504cfc7

File tree

2 files changed

+36
-35
lines changed

2 files changed

+36
-35
lines changed
Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
4-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFramework>net8.0</TargetFramework>
4+
</PropertyGroup>
5+
6+
<ItemGroup>
7+
<PackageReference Include="Umbraco.Cms" VersionOverride="13.6.0" />
8+
</ItemGroup>
59

6-
<ItemGroup>
7-
<PackageReference Include="Umbraco.Cms" VersionOverride="13.6.0" />
8-
</ItemGroup>
9-
1010
<Import Project="..\..\src\Our.Umbraco.UiExamples.v13\build\Our.Umbraco.UiExamples.v13.targets" />
1111
<ItemGroup>
1212
<ProjectReference Include="..\..\src\Our.Umbraco.UiExamples.v13\Our.Umbraco.UiExamples.v13.csproj" />
1313
</ItemGroup>
14-
15-
<!-- Force Windows to use ICU. Otherwise Windows 10 2019H1+ will do it, but older Windows 10 and most if not all Windows Server OS's will run NLS -->
16-
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
17-
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" VersionOverride="68.2.0.9" />
18-
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2" />
14+
15+
<ItemGroup>
16+
<!-- Opt-in to app-local ICU to ensure consistent globalization APIs across different platforms -->
17+
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" VersionOverride="72.1.0.3" />
18+
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
1919
</ItemGroup>
2020

2121
<PropertyGroup>
22+
<!-- Razor files are needed for the backoffice to work correctly -->
2223
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
2324
</PropertyGroup>
2425

25-
<!-- Set this to true if ModelsBuilder mode is not InMemoryAuto -->
26-
<PropertyGroup>
27-
<RazorCompileOnBuild>false</RazorCompileOnBuild>
28-
<RazorCompileOnPublish>false</RazorCompileOnPublish>
29-
</PropertyGroup>
26+
<PropertyGroup>
27+
<!-- Remove RazorCompileOnBuild and RazorCompileOnPublish when not using ModelsMode InMemoryAuto -->
28+
<RazorCompileOnBuild>false</RazorCompileOnBuild>
29+
<RazorCompileOnPublish>false</RazorCompileOnPublish>
30+
</PropertyGroup>
3031
</Project>

examples/Umbraco13.Website/packages.lock.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"net8.0": {
55
"Microsoft.ICU.ICU4C.Runtime": {
66
"type": "Direct",
7-
"requested": "[68.2.0.9, )",
8-
"resolved": "68.2.0.9",
9-
"contentHash": "+JnnRV3LguprgmGBxhPJNvSietNRn5SxQ1A7fYTaTxWJhQXC3BD42UCYa4kPXF13H4O2PV0DdGwx1Ro38dZtmw==",
7+
"requested": "[72.1.0.3, )",
8+
"resolved": "72.1.0.3",
9+
"contentHash": "Z42uzvs0TN9Y02xgHtRgPcumLRnvK3MHVHZ0Pr3OrnvyZYhBwqDgdYBOvoELcTsayUgwqrPLb+C5Fqqk66zlUg==",
1010
"dependencies": {
11-
"Microsoft.ICU.ICU4C.Runtime.linux-arm64": "68.2.0.9",
12-
"Microsoft.ICU.ICU4C.Runtime.linux-x64": "68.2.0.9",
13-
"Microsoft.ICU.ICU4C.Runtime.win-arm64": "68.2.0.9",
14-
"Microsoft.ICU.ICU4C.Runtime.win-x64": "68.2.0.9",
15-
"Microsoft.ICU.ICU4C.Runtime.win-x86": "68.2.0.9"
11+
"Microsoft.ICU.ICU4C.Runtime.linux-arm64": "72.1.0.3",
12+
"Microsoft.ICU.ICU4C.Runtime.linux-x64": "72.1.0.3",
13+
"Microsoft.ICU.ICU4C.Runtime.win-arm64": "72.1.0.3",
14+
"Microsoft.ICU.ICU4C.Runtime.win-x64": "72.1.0.3",
15+
"Microsoft.ICU.ICU4C.Runtime.win-x86": "72.1.0.3"
1616
}
1717
},
1818
"Nerdbank.GitVersioning": {
@@ -808,28 +808,28 @@
808808
},
809809
"Microsoft.ICU.ICU4C.Runtime.linux-arm64": {
810810
"type": "Transitive",
811-
"resolved": "68.2.0.9",
812-
"contentHash": "buZexq1QyLhhAseAJo/j6YkJifiMPxOYU8G05N7LIKWRM1rJ9Ufag7MYcY7d7X13+fS/Rm3CuuVsWEvB3T5pzg=="
811+
"resolved": "72.1.0.3",
812+
"contentHash": "u/2cPX6JBgSgTOeDjkb2A672LsL3zQo60ViYUTqHOrxuFOIx0ag6bFu2WgN4zRZ71K6L0fubnrlS1HpN+k5kyA=="
813813
},
814814
"Microsoft.ICU.ICU4C.Runtime.linux-x64": {
815815
"type": "Transitive",
816-
"resolved": "68.2.0.9",
817-
"contentHash": "EzSwdrljzwOhqyW0l68J0aJSkt+2N9KwH10+nnNinQFCUXor1zdPmxZRTBVaAAATEzcmruWTjwq1ij61oB8orQ=="
816+
"resolved": "72.1.0.3",
817+
"contentHash": "q1iHc4EGCBYbpb+gfMZGn6L/WuBei/la52pRbxlVy4ed7FdB9UmvUXhoRzv6OsYa6E4VlTlj6EKgYvrwPkVGKQ=="
818818
},
819819
"Microsoft.ICU.ICU4C.Runtime.win-arm64": {
820820
"type": "Transitive",
821-
"resolved": "68.2.0.9",
822-
"contentHash": "LJE0IfJawQDaEl/JN1DLqf5Z9gvDvOPw0ntcKzJYhl1Xv81xon0a5ObU9/DrAVF6BL/AGKqYHuC7bX6zrcT2YA=="
821+
"resolved": "72.1.0.3",
822+
"contentHash": "/h8OPK1fqrI9t8hKNmpnSy7MYssGB1CtoXANsduFqf0Sc+OOtfoCIvRp2Mt9Fk80CmtU/53TldGvt1oCH7KpEA=="
823823
},
824824
"Microsoft.ICU.ICU4C.Runtime.win-x64": {
825825
"type": "Transitive",
826-
"resolved": "68.2.0.9",
827-
"contentHash": "4gkh2HW9m2JDM+87otmrukivYP/dedXZCdpnxbBft48eeemwDR12coMYEFbV8xToA3m95MQYFQPxS6a4JaRyyA=="
826+
"resolved": "72.1.0.3",
827+
"contentHash": "7j6NsmvKuVxgoFsoy0Ty7I09V/tvrQBZN+ddfHtz/OWNRaEIy7PsAguGoyD4AcQZh/KkfT9RQlHoQJ4xVQPr6g=="
828828
},
829829
"Microsoft.ICU.ICU4C.Runtime.win-x86": {
830830
"type": "Transitive",
831-
"resolved": "68.2.0.9",
832-
"contentHash": "fGnm7nxHhJkea7dgwLX4IGO8K1W0FHs5290FyDQmbB1xBuCFv0sFl308hIajSC1WVvuFbbVpRMBMxQjtIEOnzg=="
831+
"resolved": "72.1.0.3",
832+
"contentHash": "xTHoHJKtgHDsYkQ/RU3o4U36ktjQqnR+ML00HDDK2SWr+9nMekxnXvtLZ2I4cqF8s51frxqTRgx1jDVtIzCf3w=="
833833
},
834834
"Microsoft.Identity.Client": {
835835
"type": "Transitive",

0 commit comments

Comments
 (0)