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.
Build Analysis / Build Analysis failed Mar 20, 2026 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Build Failures

aspnetcore-ci / Build / Test: Windows Server x64 / Run build.cmd

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(488,5): error MSB6006: "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.
    ❌.dotnet\sdk\11.0.100-preview.1.26104.118\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(368,5): error NETSDK1096: Optimizing assemblies for performance failed. You can either exclude the failing assemblies from being optimized, or set the PublishReadyToRun property to false.

Known test errors

Test Failures (4 tests failed)

🔹 [All failing tests from aspnetcore-ci]

Was this helpful? Yes No