craigs100
(Craig)
November 30, 2025, 11:58pm
1
Upgraded site from V13.12.0 to V17.0.0. Every page call results in error: “No physical template file was found for template”
Have read the “Upgrading to V17-rc2…..” post but hasn’t helped.
All docTypes have the correct templates assigned.
All templates are available in the back office “Templates” UI.
Appsettings is using:
"ModelsBuilder": {
"ModelsMode": "SourceCodeManual"
}
CSProj has:
<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>false</RazorCompileOnPublish>
<CopyRazorGenerateFilesToPublishDirectory>true</CopyRazorGenerateFilesToPublishDirectory>
I’ve tried with and without the Umbraco.Cms.DevelopmentMode.Backoffice package.
I’ve deleted the Umbraco/Temp folder and rebuilt Examine indexes.
I’ve run out of options. Anyone any idea what else it could be?
Thanks.
yawkale
(Yawkale)
December 1, 2025, 12:37am
2
of cource you can build project or install Umbraco.Cms.DevelopmentMode.Backoffice
and set Umbraco::CMS::Runtime::Mode= BackofficeDevelopment
greystate
(Chriztian Steinmeier)
December 1, 2025, 5:29am
3
Hi Craig
EDIT: Just saw that you’ve already tried this - sorry…
Summary
You need to add this package to the project: Umbraco.Cms.DevelopmentMode.Backoffice
(I don’t know much about it - just that it fixes the problem with .NET 10 having removed the hot reloading of Razor files).
/Chriztian
sebastiaan
(Sebastiaan Janssen ⚓)
December 1, 2025, 8:54am
4
ensure the following settings are removed from your .csproj file:
<RazorCompileOnBuild>false</RazorCompileOnBuild>
<RazorCompileOnPublish>false</RazorCompileOnPublish>
From: Version Specific Upgrades | Umbraco CMS
So in short:
Models Builder mode
Install Umbraco.Cms.DevelopmentMode.Backoffice
Remove <RazorCompileOnBuild> & <RazorCompileOnPublish>
InMemoryAuto
Yes
No
Source-code modes (SourceCodeAuto, SourceCodeManual, AppData)
No
Yes
That’s how I always used to do it in V<=13 but following a upgrade course last month, the source showed to include them but to make them false. I didn’t appreciate the difference in ModelsBuilder Mode though, which is key.
Thanks.