Currently we are upgrading Umbraco v13.13.1 to Umbraco v17.5.3.
Steps we followed till now.
Upgrade Umbraco v13.13.1 to v13.16.0 → dotnet restore and Build was successfully done.
Upgrade .NET 8 to .NET 10 → dotnet restore and Build was successfully done.
Upgrade Umbraco v13.16.0 to v17.5.3 → Updated NuGet packages and resolved several dependency/build issues. Now 160 build errors remains those all are from *.generated.cs files. which was present in MastiffUmbraco.Models\PageModels folder. please check the build error in attached screenshot.
The reason is that Umbraco 15 introduced a new cache, the HybridCache, that replaced the NuCache that Umbraco used up until that point. That also introduced some new services and removed some older services like you see here.
stops the plethora of changed modelsbuilder generated files in sourcecontrol just for an umbraco version update.. I’ve not seen any downsides to not having the version stamp.. others may disagree..