Hello,
I have read my problem should be solved at early versions. But currently, i have the same exception in my blazor webassembly.
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Could not find 'sfBlazor' in 'window'.
Error: Could not find 'sfBlazor' in 'window'.
at https://localhost:5001/_framework/blazor.webassembly.js:1:9130
at Array.forEach (<anonymous>)
at p (https://localhost:5001/_framework/blazor.webassembly.js:1:9090)
at https://localhost:5001/_framework/blazor.webassembly.js:1:9800
at new Promise (<anonymous>)
at Object.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.webassembly.js:1:9773)
at _mono_wasm_invoke_js_marshalled (https://localhost:5001/_framework/wasm/dotnet.3.2.0.js:1:171294)
at do_icall (<anonymous>:wasm-function[6049]:0x10f8b1)
at do_icall_wrapper (<anonymous>:wasm-function[1896]:0x50b6a)
at interp_exec_method (<anonymous>:wasm-function[1120]:0x2588e)
Microsoft.JSInterop.JSException: Could not find 'sfBlazor' in 'window'.
Error: Could not find 'sfBlazor' in 'window'.
at https://localhost:5001/_framework/blazor.webassembly.js:1:9130
at Array.forEach (<anonymous>)
at p (https://localhost:5001/_framework/blazor.webassembly.js:1:9090)
at https://localhost:5001/_framework/blazor.webassembly.js:1:9800
at new Promise (<anonymous>)
at Object.beginInvokeJSFromDotNet (https://localhost:5001/_framework/blazor.webassembly.js:1:9773)
at _mono_wasm_invoke_js_marshalled (https://localhost:5001/_framework/wasm/dotnet.3.2.0.js:1:171294)
at do_icall (<anonymous>:wasm-function[6049]:0x10f8b1)
at do_icall_wrapper (<anonymous>:wasm-function[1896]:0x50b6a)
at interp_exec_method (<anonymous>:wasm-function[1120]:0x2588e)
at System.Threading.Tasks.ValueTask`1[TResult].get_Result () <0x44d20b8 + 0x00034> in <filename unknown>:0
at Syncfusion.Blazor.BarcodeGenerator.QRBarcode.drawDisplayText (System.Double x, System.Double y, System.Double width, System.Double height, Microsoft.JSInterop.IJSRuntime JSRuntime, Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator sfQRCodeGenerator) <0x449d980 + 0x001de> in <filename unknown>:0
at Syncfusion.Blazor.BarcodeGenerator.QRBarcode.Draw (Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator sfQRCodeGenerator, Microsoft.JSInterop.IJSRuntime JSRuntime) <0x444fd38 + 0x0044c> in <filename unknown>:0
at Syncfusion.Blazor.BarcodeGenerator.SfQRCodeGenerator.OnAfterRenderAsync (System.Boolean firstRender) <0x441a3f0 + 0x001d4> in <filename unknown>:0
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask (System.Threading.Tasks.Task taskToHandle) <0x4157e78 + 0x000b6> in <filename unknown>:0
I have add licence key and added the service with "builder.Services.AddSyncfusionBlazor();"
Is this allways a bug or what could be wrong?
Best regards
Jonas