Skip to content

dotnet-sdk-9.0.100-preview.7.24379.15] Fail to build blazor-starter-kit app with an error "CS0619:'MudMenu.OffsetY' is obsolete: 'Use AnchorOrigin or TransformOrigin instead.'" #467

@CancanTang

Description

@CancanTang

We are doing Application compatibility testing with this application against the latest .NET 9 SDK. When build the application with the latest .NET 9 SDK, it failed with error: CS0619:'MudMenu.OffsetY' is obsolete: 'Use AnchorOrigin or TransformOrigin instead.

After the investigation, these are obsoletions in MudBlazor itself. The app is using properties that have been deprecated

You can fix the obsoletions by upgrade MudBlazor to V7.5.0 or above if you want

Test steps

  1. cd to CleanArchitecture2\src\Server folder.
  2. Build app with 9.0.100-preview.7.24379.15 SDK

Expected Result:
build successfully without error
Actual Result:
build failed with CS0619:'MudMenu.OffsetY' is obsolete: 'Use AnchorOrigin or TransformOrigin instead`

Please refer to more information from dotnet/sdk#42509

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions