Skip to content

[Problem/Bug]: AOT publish not run right #4866

@biubiue

Description

@biubiue

What happened?

Snipaste_2024-10-18_09-50-33

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

129.0.2792.89

SDK Version

1.0.2792.45

Framework

Winforms

Operating System

Windows 10

OS Version

22H2 19045.4894

Repro steps

Create new project WinfromApp (.net8 winform)
From nuget Add WebView2 1.0.2792.45
dotnet publish WinfromApp -r win-x64 -c Release -p:PublishAot=true -p:_SuppressWinFormsTrimError=true

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions