This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version]
One of our projects gets hung up about 3/4th the way through a publish of a Blazor WebAssembly AOT publish. The error and log are below:
Severity Code Description Project File Line Suppression State
Error Precompiling failed for D:\Projects\GoSnapShop\Source\GoSnapShop.Web\obj\Release\net6.0\linked\Microsoft.AspNetCore.Razor.Language.dll GoSnapShop.Web C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0\Sdk\WasmApp.Native.targets 506
[Microsoft.AspNetCore.Razor.Language.dll] Exec (with response file contents expanded) in D:\Projects\GoSnapShop\Source\GoSnapShop.Web\obj\Release\net6.0\linked: MONO_PATH=D:\Projects\GoSnapShop\Source\GoSnapShop.Web\obj\Release\net6.0\linked; C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\6.0.0\runtimes\browser-wasm\native\; C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\6.0.0\runtimes\browser-wasm\\lib\net6.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\6.0.0\Sdk\.. \tools\mono-aot-cross.exe --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.win-x64\6.0.0\tools\bin\,static,llvmonly,interp,asmonly,llvm-outfile=D:\Projects\GoSnapShop\Source\GoSnapShop.Web\obj\Release\net6.0\wasm\for-publish\Microsoft.AspNetCore.Razor.Language.dll.bc.tmp" "Microsoft.AspNetCore.Razor.Language.dll"
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\6.0.0\Sdk\WasmApp.Native.targets(506,5): Error : Precompiling failed for D:\Projects\GoSnapShop\Source\GoSnapShop.Web\obj\Release\net6.0\linked\Microsoft.AspNetCore.Razor.Language.dll
Our project does not directly reference Microsoft.AspNetCore.Razor.Language.dll AFAICT.
Original Comments
Feedback Bot on 11/16/2021, 11:51 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 11/17/2021, 00:49 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Johnny Vick on 12/5/2021, 08:39 AM:
Same issue here. I can compile using aot. However, when I include my telerik control and use aot. I get this error.
Original Solutions
(no solutions)
This issue has been moved from a ticket on Developer Community.
[severity:I'm unable to use this version]
One of our projects gets hung up about 3/4th the way through a publish of a Blazor WebAssembly AOT publish. The error and log are below:
Our project does not directly reference Microsoft.AspNetCore.Razor.Language.dll AFAICT.
Original Comments
Feedback Bot on 11/16/2021, 11:51 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Feedback Bot on 11/17/2021, 00:49 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2019#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.
Johnny Vick on 12/5/2021, 08:39 AM:
Same issue here. I can compile using aot. However, when I include my telerik control and use aot. I get this error.
Original Solutions
(no solutions)