Skip to content

Throw meaningful exception when async JSInvokable method is called synchronously from JS#65880

Open
iamcymentho wants to merge 1 commit into
dotnet:mainfrom
iamcymentho:iamcymentho/fix-jsinterop-sync-async-error-message
Open

Throw meaningful exception when async JSInvokable method is called synchronously from JS#65880
iamcymentho wants to merge 1 commit into
dotnet:mainfrom
iamcymentho:iamcymentho/fix-jsinterop-sync-async-error-message

Throw meaningful exception when async JSInvokable method is called sy…

f28aff8
Select commit
Loading
Failed to load commit list.
Azure Pipelines / aspnetcore-ci (Build Test: Windows Server x64) failed Mar 20, 2026 in 26m 59s

Build Test: Windows Server x64 failed

Annotations

Check failure on line 488 in .dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci (Build Test: Windows Server x64)

.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets#L488

.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(488,5): error MSB6006: (NETCORE_ENGINEERING_TELEMETRY=Build) "D:\a\_work\1\s\.packages\microsoft.netcore.app.crossgen2.win-x64\11.0.0-preview.3.26153.117\tools\crossgen2.exe" exited with code 57005.

Check failure on line 368 in .dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets

See this annotation in the file changed.

@azure-pipelines azure-pipelines / aspnetcore-ci (Build Test: Windows Server x64)

.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets#L368

.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(368,5): error NETSDK1096: (NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false.