Problem Statement
I'm upgrading a local environment from Sitecore 10.3
to 10.3.1
. The platform is easy enough to upgrade using Docker with an update to my IMAGE TAG version: 10.3-ltsc2019
to 10.3.1-ltsc2019
. Upgrading my Visual Studio solution should also be straightforward with Centralized Package Management using the Packages.props
file.
Before
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PlatformVersion>10.3.0</PlatformVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Update="Sitecore.Owin.Authentication" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Kernel" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.ContentSearch" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.ContentSearch.Linq" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Assemblies.Platform" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Assemblies.SitecoreHeadlessServicesServer" Version="21.0.*" />
<PackageReference Update="Sitecore.LayoutService" Version="9.0.310" />
</ItemGroup>
</Project>
After
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PlatformVersion>10.3.1</PlatformVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Update="Sitecore.Owin.Authentication" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Kernel" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.ContentSearch" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.ContentSearch.Linq" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Assemblies.Platform" Version="$(PlatformVersion)" />
<PackageReference Update="Sitecore.Assemblies.SitecoreHeadlessServicesServer" Version="21.0.*" />
<PackageReference Update="Sitecore.LayoutService" Version="9.0.310" />
</ItemGroup>
</Project>
However, when I build my solution, I get several build errors for Nuget dependencies that were previously included in the 10.3.0
version.
Here's a comparison of the dependency tree for the Sitecore.Kernel
nuget package:
Are developers expected to manually add any package dependencies for Sitecore 10.3.1 and above?
What up with that?