Skip to content

Commit a80457b

Browse files
Sofie Toft Kristensengitbook-bot
authored andcommitted
GITBOOK-10: No subject
1 parent 076f53e commit a80457b

File tree

1 file changed

+4
-11
lines changed
  • 15/umbraco-cms/fundamentals/setup/upgrading/version-specific

1 file changed

+4
-11
lines changed

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

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ Use the [general upgrade guide](../) to complete the upgrade of your project.
2121

2222
<summary>Umbraco 15</summary>
2323

24-
**`TrimStart` & `TrimEnd`**
25-
26-
The string extension methods `TrimStart` and `TrimEnd` are implemented natively in .NET 9 and behave differently from the ones used by Umbraco.
27-
Due to this, the Umbraco versions have changed names. Use `TrimStartExact` and `TrimEndExact` instead.
28-
29-
**Snapshots are removed**
24+
S**napshots are removed**
3025

3126
Snapshots have been removed, meaning any code using `IPublishedSnapshot`, and by extension `IPublishedSnapshotAccessor`, must be updated. Inject `IPublishedContentCache` or `IPublishedMediaCache` and use those directly instead.
3227

@@ -40,8 +35,7 @@ Remove the `umbraco\Data\TEMP\InMemoryAuto` folder to trigger a rebuild of the m
4035

4136
**SourceCodeAuto and SourceCodeManual**
4237

43-
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.
44-
To get around this you can disable the precompiled view temporarily by adding the following to your `.csproj` file:
38+
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. To get around this you can disable the precompiled view temporarily by adding the following to your `.csproj` file:
4539

4640
```xml
4741
<PropertyGroup>
@@ -50,16 +44,15 @@ To get around this you can disable the precompiled view temporarily by adding th
5044
</PropertyGroup>
5145
```
5246

53-
This will allow your site to start up, but you will still see an error page when loading a page.
47+
This will allow your site to start up, but you will still see an error page when loading a page.
5448

5549
1. Disregard the error.
5650
2. Enter the backoffice.
5751
3. Rebuild the models from the ModelsBuilder dashboard.
5852

5953
You can now re-enable precompiled views and rebuild your site.
6054

61-
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 have been rebuilt or fix the models manually.
62-
To fix the models manually you need to find and replace `IPublishedSnapshotAccessor` with `IPublishedContentTypeCache`.
55+
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 have been rebuilt or fix the models manually. To fix the models manually you need to find and replace `IPublishedSnapshotAccessor` with `IPublishedContentTypeCache`.
6356

6457
</details>
6558

0 commit comments

Comments
 (0)