Closed SeanLeitzinger closed 1 year ago
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | SeanLeitzinger |
---|---|
Assignees: | - |
Labels: | `arch-wasm`, `untriaged`, `area-Codegen-AOT-mono`, `needs-area-label` |
Milestone: | - |
cc @vargaz
This is fixable, but having 65k AOTed methods will probably mean that both compile times and executable sizes will be unacceptable.
Is there an existing issue for this?
Describe the bug
When publishing a Blazor wasm app on .NET 7 using AOT the following error is encountered:
Precompiling failed for obj\Release\net7.0\linked\Microsoft.Graph.dll with exit code -1073740791. Mono Ahead of Time compiler - compiling assembly obj\Release\net7.0\linked\Microsoft.Graph.dll
Expected Behavior
App should compile successfully. The issue did not exist on .NET 6. All nuget packages are latest version.
Steps To Reproduce
Compile a Blazor WebAssembly project with Microsoft Graph on .NET 7.
Exceptions (if any)
No response
.NET Version
7.0.203
Anything else?
Visual Studio 17.5.5
`
`