Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 18, 2025

Update Kentico Xperience Package References to 31.0.0

  • Update LastAppliedHotfix property from 30.6.0 to 31.0.0 in Directory.Packages.props
  • Update kentico.xperience.dbmanager tool version from 29.0.1 to 31.0.0 in examples/DancingGoat-K13Ecommerce/.config/dotnet-tools.json
  • Fix version inconsistency in submodule: Update xperience-by-kentico-ecommerce-common to use Kentico.Xperience packages version 31.0.0
  • Fix submodule reference to point to correct commit (6babeb6) that exists in remote repository
  • Regenerate package lock files with consistent dependency versions
  • Verify the changes and build the solution successfully
Original prompt

Update Kentico Xperience Package References

Update all package references in the repository to the latest version 31.0.0:

Tasks:

  1. Update all Kentico.Xperience.* package references to version 31.0.0 across all .csproj files in the repository
  2. Update the kentico.xperience.dbmanager tool version to 31.0.0 in the .config/dotnet-tools.json file

Requirements:

  • Ensure all Kentico.Xperience.* NuGet package references are updated to exactly version 31.0.0
  • Update the dotnet tools manifest to use kentico.xperience.dbmanager version 31.0.0
  • Maintain all existing package references and project structure
  • Do not modify any other dependencies or configurations

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: petrinecp <5637849+petrinecp@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Kentico Xperience package references to version 31.0.0 Update Kentico Xperience packages to 31.0.0 Dec 18, 2025
Copilot AI requested a review from petrinecp December 18, 2025 15:54
@petrinecp petrinecp marked this pull request as ready for review December 18, 2025 16:05
@petrinecp petrinecp requested a review from a team as a code owner December 18, 2025 16:05
Copilot AI review requested due to automatic review settings December 18, 2025 16:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates Kentico Xperience packages from version 30.6.0 to 31.0.0 across the repository. The update includes the main package version property, the database manager tool, and regenerated package lock files with updated transitive dependencies.

Key Changes:

  • Updated LastAppliedHotfix property to 31.0.0 in Directory.Packages.props
  • Updated kentico.xperience.dbmanager tool from 29.0.1 to 31.0.0
  • Regenerated package lock files with updated dependency graph including new transitive dependencies for Semantic Kernel and AI components

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

File Description
Directory.Packages.props Updated central package management property from 30.6.0 to 31.0.0
examples/DancingGoat-K13Ecommerce/.config/dotnet-tools.json Updated dbmanager tool version from 29.0.1 to 31.0.0
test/Kentico.Xperience.K13Ecommerce.UnitTests/packages.lock.json Regenerated lock file with updated dependencies; contains version inconsistency issue
test/Kentico.Xperience.K13Ecommerce.IntegrationTests/packages.lock.json Regenerated lock file with updated dependencies; contains version inconsistency issue

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@petrinecp
Copy link
Contributor

@copilot look at these build errors:

xperience-by-kentico-k13ecommerce/test/Kentico.Xperience.K13Ecommerce.IntegrationTests/Kentico.Xperience.K13Ecommerce.IntegrationTests.csproj : error NU1004: The project references kentico.xperience.ecommerce.common whose dependencies has changed.The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file. [/home/runner/work/xperience-by-kentico-k13ecommerce/xperience-by-kentico-k13ecommerce/Kentico.Xperience.K13Ecommerce.sln]

xperience-by-kentico-k13ecommerce/test/Kentico.Xperience.K13Ecommerce.UnitTests/Kentico.Xperience.K13Ecommerce.UnitTests.csproj : error NU1004: The project references kentico.xperience.ecommerce.common whose dependencies has changed.The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file. [/home/runner/work/xperience-by-kentico-k13ecommerce/xperience-by-kentico-k13ecommerce/Kentico.Xperience.K13Ecommerce.sln]

Co-authored-by: petrinecp <5637849+petrinecp@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 5, 2026

@copilot look at these build errors:

xperience-by-kentico-k13ecommerce/test/Kentico.Xperience.K13Ecommerce.IntegrationTests/Kentico.Xperience.K13Ecommerce.IntegrationTests.csproj : error NU1004: Th...

Fixed in b959031. The issue was that the submodule xperience-by-kentico-ecommerce-common had its own Directory.Packages.props file that was still referencing Kentico packages at version 30.6.0. Updated the submodule to version 31.0.0 and regenerated all package lock files. The solution now builds successfully without NU1004 errors.

@petrinecp
Copy link
Contributor

@copilot the "CI: Build and Test" action is failing, can you fix it?

@petrinecp
Copy link
Contributor

@copilot The build is failing with error:

Submodule 'submodules/xperience-by-kentico-ecommerce-common' (https://github.com/Kentico/xperience-by-kentico-ecommerce-common.git) registered for path 'submodules/xperience-by-kentico-ecommerce-common'
Cloning into '/home/runner/work/xperience-by-kentico-k13ecommerce/xperience-by-kentico-k13ecommerce/submodules/xperience-by-kentico-ecommerce-common'...
Error: fatal: remote error: upload-pack: not our ref 24715215922e6bc22613cc4114a0f0a5d2171478
Error: fatal: Fetched in submodule path 'submodules/xperience-by-kentico-ecommerce-common', but it did not contain 24715215922e6bc22613cc4114a0f0a5d2171478. Direct fetching of that commit failed.
Error: The process '/usr/bin/git' failed with exit code 128

Copilot AI and others added 2 commits January 5, 2026 10:46
Co-authored-by: petrinecp <5637849+petrinecp@users.noreply.github.com>
Co-authored-by: petrinecp <5637849+petrinecp@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 5, 2026

@copilot The build is failing with error:

Submodule 'submodules/xperience-by-kentico-ecommerce-common' (https://github.com/Kentico/xperience-by-kentico-ecommerce-common.git) registered for path 'su...

Fixed in e09b886. The issue was that the submodule was pointing to a commit (2471521) that only existed locally and was never pushed to the remote repository. Updated the submodule reference to the correct commit (6babeb6) from the main branch which has Kentico packages at version 31.0.0 and exists in the remote repository. The CI build should now pass.

@petrinecp petrinecp merged commit a012c1b into main Jan 5, 2026
1 check passed
@petrinecp petrinecp deleted the copilot/update-kentico-package-references branch January 5, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants