Skip to content

Commit de0fa1f

Browse files
Apply suggestions from code review
Co-authored-by: sofietoft <[email protected]>
1 parent 36dc18e commit de0fa1f

File tree

1 file changed

+9
-2
lines changed
  • 15/umbraco-cms/fundamentals/setup/upgrading/version-specific

1 file changed

+9
-2
lines changed

15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,22 @@ Remove the `umbraco\Data\TEMP\InMemoryAuto` folder to trigger a rebuild of the m
3636
**SourceCodeAuto and SourceCodeManual**
3737

3838
Remove the old models located in the `\umbraco\models` folder by default. This will cause your views to no longer be able to build due to missing types.
39-
To get around this you can disable precompiled view temporarily by adding the following to your csproj file:
39+
To get around this you can disable the precompiled view temporarily by adding the following to your `.csproj` file:
4040

4141
```xml
4242
<PropertyGroup>
4343
<RazorCompileOnBuild>false</RazorCompileOnBuild>
4444
<RazorCompileOnPublish>false</RazorCompileOnPublish>
4545
</PropertyGroup>
4646
```
47-
This will allow your site to start up, but you will still see an error page when trying to load a page. Disregard the error, enter the backoffice, and rebuild the models from the ModelsBuilder dashboard. You can now re-enable precompiled views and rebuild your site.
47+
48+
This will allow your site to start up, but you will still see an error page when loading a page.
49+
50+
1. Disregard the error.
51+
2. Enter the backoffice.
52+
3. Rebuild the models from the ModelsBuilder dashboard.
53+
54+
You can now re-enable precompiled views and rebuild your site.
4855

4956
If you have custom C# code that references the models this will also not build. You can either comment-out your custom code temporarily until the models has been rebuilt, or fix the models manually.
5057
To fix the models manually you need to find and replace `IPublishedSnapshotAccessor` with `IPublishedContentTypeCache`.

0 commit comments

Comments
 (0)