Fix for bug #18129 #18137
Fix for bug #18129 #18137
Build Build Umbraco CMS failed
Annotations
azure-pipelines / Umbraco CMS 9+ (Build Build Umbraco CMS)
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets#L39
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): Error : API compatibility errors between 'lib/net9.0/Umbraco.Core.dll' (C:\Users\VssAdministrator\.nuget\packages\umbraco.cms.core\15.0.0\umbraco.cms.core.15.0.0.nupkg) and 'lib/net9.0/Umbraco.Core.dll' (D:\a\1\a/nupkg\Umbraco.Cms.Core.15.2.0--rc.preview.139.ge428f48.nupkg):
azure-pipelines / Umbraco CMS 9+ (Build Build Umbraco CMS)
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets#L39
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): Error CP0007: Type 'Umbraco.Cms.Core.Routing.ContentFinderByUrlAndTemplate' does not inherit from base type 'Umbraco.Cms.Core.Routing.ContentFinderByUrl' on lib/net9.0/Umbraco.Core.dll but it does on [Baseline] lib/net9.0/Umbraco.Core.dll
azure-pipelines / Umbraco CMS 9+ (Build Build Umbraco CMS)
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets#L39
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): Error CP0002: Member 'Umbraco.Cms.Core.Routing.ContentFinderByUrlAndTemplate.ContentFinderByUrlAndTemplate(Microsoft.Extensions.Logging.ILogger<Umbraco.Cms.Core.Routing.ContentFinderByUrlAndTemplate>, Umbraco.Cms.Core.Services.IFileService, Umbraco.Cms.Core.Services.IContentTypeService, Umbraco.Cms.Core.Web.IUmbracoContextAccessor, Microsoft.Extensions.Options.IOptionsMonitor<Umbraco.Cms.Core.Configuration.Models.WebRoutingSettings>)' exists on [Baseline] lib/net9.0/Umbraco.Core.dll but not on lib/net9.0/Umbraco.Core.dll
azure-pipelines / Umbraco CMS 9+ (Build Build Umbraco CMS)
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets#L39
C:\hostedtoolcache\windows\dotnet\sdk\9.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ApiCompat.ValidatePackage.targets(39,5): Error : API breaking changes found. If those are intentional, the APICompat suppression file can be updated by rebuilding with '/p:ApiCompatGenerateSuppressionFile=true'
Check failure on line 24984 in Build log
azure-pipelines / Umbraco CMS 9+ (Build Build Umbraco CMS)
Build log #L24984
Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1