diff --git a/Directory.Build.props b/Directory.Build.props
index 14b1896135..1cc761932c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -14,7 +14,10 @@
en-US
enable
nullable
- true
+ true
+
+ $(NoWarn);NU5104
+ $(WarningsNotAsErrors);NU5104
enable
true
false
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 871c5b2e8f..af241ec408 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -12,28 +12,28 @@
-
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -47,20 +47,20 @@
-
+
-
+
-
-
-
+
+
+
@@ -75,24 +75,24 @@
-
+
-
+
-
+
-
+
diff --git a/global.json b/global.json
index 1ada742598..41c9ad2ed8 100644
--- a/global.json
+++ b/global.json
@@ -1,7 +1,7 @@
{
"sdk": {
- "version": "9.0.100-rc.2.24474.11",
+ "version": "9.0.100",
"rollForward": "latestFeature",
- "allowPrerelease": true
+ "allowPrerelease": false
}
}
diff --git a/src/Umbraco.Cms.Api.Common/OpenApi/SchemaIdHandler.cs b/src/Umbraco.Cms.Api.Common/OpenApi/SchemaIdHandler.cs
index 6e96cbed42..c08e0be19a 100644
--- a/src/Umbraco.Cms.Api.Common/OpenApi/SchemaIdHandler.cs
+++ b/src/Umbraco.Cms.Api.Common/OpenApi/SchemaIdHandler.cs
@@ -36,7 +36,7 @@ public class SchemaIdHandler : ISchemaIdHandler
// first grab the "non-generic" part of any generic type name (i.e. "PagedViewModel`1" becomes "PagedViewModel")
.Split('`').First()
// then remove the "ViewModel" postfix from type names
- .TrimEndExact("ViewModel");
+ .TrimEnd("ViewModel");
private string HandleGenerics(string name, Type type)
{
diff --git a/src/Umbraco.Cms.Api.Delivery/Services/ApiMediaQueryService.cs b/src/Umbraco.Cms.Api.Delivery/Services/ApiMediaQueryService.cs
index 7979895ba3..9dcf85b6ef 100644
--- a/src/Umbraco.Cms.Api.Delivery/Services/ApiMediaQueryService.cs
+++ b/src/Umbraco.Cms.Api.Delivery/Services/ApiMediaQueryService.cs
@@ -87,7 +87,7 @@ internal sealed class ApiMediaQueryService : IApiMediaQueryService
return null;
}
- var childrenOf = fetch.TrimStartExact(childrenOfParameter);
+ var childrenOf = fetch.TrimStart(childrenOfParameter);
if (childrenOf.IsNullOrWhiteSpace())
{
// this mirrors the current behavior of the Content Delivery API :-)
diff --git a/src/Umbraco.Cms.Api.Delivery/Services/RequestRedirectService.cs b/src/Umbraco.Cms.Api.Delivery/Services/RequestRedirectService.cs
index 2f74d86364..6189e7154e 100644
--- a/src/Umbraco.Cms.Api.Delivery/Services/RequestRedirectService.cs
+++ b/src/Umbraco.Cms.Api.Delivery/Services/RequestRedirectService.cs
@@ -66,7 +66,7 @@ internal sealed class RequestRedirectService : RoutingServiceBase, IRequestRedir
}
// important: redirect URLs are always tracked without trailing slashes
- IRedirectUrl? redirectUrl = _redirectUrlService.GetMostRecentRedirectUrl(requestedPath.TrimEndExact("/"), culture);
+ IRedirectUrl? redirectUrl = _redirectUrlService.GetMostRecentRedirectUrl(requestedPath.TrimEnd("/"), culture);
IPublishedContent? content = redirectUrl != null
? _apiPublishedContentCache.GetById(redirectUrl.ContentKey)
: null;
diff --git a/src/Umbraco.Cms.Api.Management/Controllers/Indexer/AllIndexerController.cs b/src/Umbraco.Cms.Api.Management/Controllers/Indexer/AllIndexerController.cs
index 6ce4d3b12b..768389b56d 100644
--- a/src/Umbraco.Cms.Api.Management/Controllers/Indexer/AllIndexerController.cs
+++ b/src/Umbraco.Cms.Api.Management/Controllers/Indexer/AllIndexerController.cs
@@ -37,7 +37,7 @@ public class AllIndexerController : IndexerControllerBase
{
IndexResponseModel[] indexes = _examineManager.Indexes
.Select(_indexPresentationFactory.Create)
- .OrderBy(indexModel => indexModel.Name.TrimEndExact("Indexer")).ToArray();
+ .OrderBy(indexModel => indexModel.Name.TrimEnd("Indexer")).ToArray();
var viewModel = new PagedViewModel { Items = indexes.Skip(skip).Take(take), Total = indexes.Length };
return Task.FromResult(viewModel);
diff --git a/src/Umbraco.Cms.Api.Management/Controllers/Searcher/AllSearcherController.cs b/src/Umbraco.Cms.Api.Management/Controllers/Searcher/AllSearcherController.cs
index 4c5189dcaa..76cd2f639b 100644
--- a/src/Umbraco.Cms.Api.Management/Controllers/Searcher/AllSearcherController.cs
+++ b/src/Umbraco.Cms.Api.Management/Controllers/Searcher/AllSearcherController.cs
@@ -30,7 +30,7 @@ public class AllSearcherController : SearcherControllerBase
var searchers = new List(
_examineManager.RegisteredSearchers.Select(searcher => new SearcherResponse { Name = searcher.Name })
.OrderBy(x =>
- x.Name.TrimEndExact("Searcher"))); // order by name , but strip the "Searcher" from the end if it exists
+ x.Name.TrimEnd("Searcher"))); // order by name , but strip the "Searcher" from the end if it exists
var viewModel = new PagedViewModel
{
Items = searchers.Skip(skip).Take(take),
diff --git a/src/Umbraco.Cms.StaticAssets/umbraco/UmbracoWebsite/Maintenance.cshtml b/src/Umbraco.Cms.StaticAssets/umbraco/UmbracoWebsite/Maintenance.cshtml
index 5c41abf6fa..94de5f3c52 100644
--- a/src/Umbraco.Cms.StaticAssets/umbraco/UmbracoWebsite/Maintenance.cshtml
+++ b/src/Umbraco.Cms.StaticAssets/umbraco/UmbracoWebsite/Maintenance.cshtml
@@ -17,7 +17,7 @@
Website is Under Maintainance
-
+