Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled AOT blazor Wasm Precompilation fails. #61565

Closed
Bala-E98 opened this issue Nov 14, 2021 · 2 comments
Closed

Enabled AOT blazor Wasm Precompilation fails. #61565

Bala-E98 opened this issue Nov 14, 2021 · 2 comments
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono

Comments

@Bala-E98
Copy link

Description

Upgraded the project to .net6, everything works fine. But Enabling the AOT makes publish command fails

Attached the msbuild log file for reference.
msbuild.zip
.

Reproduction Steps

Publish the Application using dotnet publish -c Release. AOT precompiling fails.

Expected behavior

Publish the wasm project with AOT.

Actual behavior

precompilation fails while aoting the Syncfusion.Blazor.Diagram.dll

Regression?

No response

Known Workarounds

No response

Configuration

  • dotnet: 6.0.100
  • OS: Windows 10 x64

Other information

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added area-Codegen-AOT-mono untriaged New issue has not been triaged by the area owner labels Nov 14, 2021
@SingleAccretion SingleAccretion added the arch-wasm WebAssembly architecture label Nov 14, 2021
@ghost
Copy link

ghost commented Nov 14, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Upgraded the project to .net6, everything works fine. But Enabling the AOT makes publish command fails

Attached the msbuild log file for reference.
msbuild.zip
.

Reproduction Steps

Publish the Application using dotnet publish -c Release. AOT precompiling fails.

Expected behavior

Publish the wasm project with AOT.

Actual behavior

precompilation fails while aoting the Syncfusion.Blazor.Diagram.dll

Regression?

No response

Known Workarounds

No response

Configuration

  • dotnet: 6.0.100
  • OS: Windows 10 x64

Other information

No response

Author: Bala-tec
Assignees: -
Labels:

arch-wasm, untriaged, area-Codegen-AOT-mono

Milestone: -

@radical
Copy link
Member

radical commented Nov 15, 2021

Closing as a dupe of #61053 .

It fails because mono-aot-cross runs out of stack space, and was fixed on main but didn't make it into 6.0. You can either try the 7.0*alpha build from https://github.com/dotnet/installer/#installers-and-binaries or wait for 6.0.1 release.

Also, see #61053 (comment) for a possible workaround.

@radical radical closed this as completed Nov 15, 2021
@radical radical removed the untriaged New issue has not been triaged by the area owner label Nov 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Dec 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Projects
None yet
Development

No branches or pull requests

3 participants