MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Problem/Bug]: AOT publish not run right
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
What happened?
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the WinForms .NET 8 project with WebView2 SDK 1.0.2792.45 using the supplied dotnet publish command on Windows 10. Compare the AOT publish result and application behavior with a non-AOT publish; done means the published app's basic functions work as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100