Skip to content

Build Csla.Maui Release against the CSLA 11 prerelease package - #4971

Merged
rockfordlhotka merged 1 commit into
mainfrom
4924-add-maui-support-for-v11
Oct 28, 2026
Merged

rockfordlhotka merged 1 commit into
mainfrom
4924-add-maui-support-for-v11

Conversation

@rockfordlhotka

Copy link
Copy Markdown
Member

The .NET 11 MAUI targets were added in #4922, but the Release configuration of Csla.Xaml.Maui (what release-maui.yaml packs into Csla.Maui) still compiled against the Csla 10.0.0 NuGet package. The shared XAML code now uses v11-only APIs (Csla.Mvvm.ViewModel<T> from #4960 and TrimmingMessages from #4962), so the Release build failed on every target framework with 16 errors.

Changes

  • Release configuration of Csla.Xaml.Maui references the Csla 11.0.0-alpha.1 prerelease package instead of 10.0.0. This follows the v10 pattern (a Csla prerelease during development, switched to the released version at ship time as in Target released CSLA 10 package #4808), so it will move to 11.0.0 when CSLA 11 ships.

Testing

  • dotnet build Source/csla.maui.build.sln -c Release: 0 errors, 0 warnings on all 8 TFMs (net10.0/net11.0 × android, ios, maccatalyst, windows); previously 16 errors
  • dotnet pack Source/csla.maui.build.sln -c Release -p:PublicRelease=true: produces Csla.Maui.11.0.0-alpha.1.nupkg, depending on Csla 11.0.0-alpha.1 for every target group
  • dotnet build Source/csla.maui.build.sln -c Debug: still 0 errors, 0 warnings

Closes #4924

🤖 Generated with Claude Code

The shared XAML code now uses v11-only APIs (Csla.Mvvm.ViewModel<T> and
TrimmingMessages), so the Release build, which release-maui packs, failed
on every target framework against the Csla 10.0.0 package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rockfordlhotka
rockfordlhotka merged commit c21f46c into main Oct 28, 2026
2 checks passed
@rockfordlhotka
rockfordlhotka deleted the 4924-add-maui-support-for-v11 branch October 28, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add MAUI support for version 11

1 participant