Josef Henryson
12/19/2023, 1:16 PMJosef Henryson
12/19/2023, 3:36 PMAndy Boot
12/19/2023, 4:31 PMJosef Henryson
12/20/2023, 7:47 AMJosef Henryson
12/20/2023, 3:59 PMAndy Boot
12/20/2023, 10:20 PMJosef Henryson
12/21/2023, 7:00 AMJosef Henryson
12/21/2023, 8:00 AMAndy Boot
12/21/2023, 9:23 AM<PackageReference>
entires within the csproj, but I don't think it can actively modify other elements, unlike the old web.config days where packages would perform all sorts of changes.
Glad you managed to solve it, sometimes you have to go around the houses to figure these things out and pass on that knowledge to future projects.Sebastiaan
01/11/2024, 4:04 PMRuntimeHostConfigurationOption
version needs to be in sync with the PackageReference
, so:
xml
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
or:
xml
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="68.2.0.9" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
What you might have had happen is:
xml
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="68.2.0.9" />
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" Condition="$(RuntimeIdentifier.StartsWith('linux')) or $(RuntimeIdentifier.StartsWith('win')) or ('$(RuntimeIdentifier)' == '' and !$([MSBuild]::IsOSPlatform('osx')))" />
which installs v68, but tries to use v72, which is not available.Sebastiaan
01/11/2024, 4:11 PMA hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by