You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i've been use IDBFS File system module to use sqlite in blazor wasm .net 7 preview 7
but IDBFS is not defined in release mode.
also i've add : <EmccExtraLDFlags>-lidbfs.js</EmccExtraLDFlags>
to my .csproject file
@lewing sorry but it's available in .net 6 and have breaking changes in .net 7.
this not better to solve this in .net 7?
I think this not a bug or new feature this is changed in .net 7 but I don't know how to use it in .net 7 and i dont find any documentation about this
sajjadarashhh/Test.net7
i've created this repo to described another problems and now make few changes to described this problem.
when start debugging error logged to console in browser.
I tried this repo, and it fails with:
Is this the error that you were talking about?
@pavelsavara Does this look related to the new interop API? Maybe MudBlazor needs to make changes for that.
problems is about my codes in wwwroot/file.js
I don't see this file. Also, I don't see any -lidbfs.js, or window.Module.*.
@TanayParikh I don't see a runtime issue as yet. Should I move this to aspnetcore?
With wasm-tools workload installed, and using <WasmBuildNative>true</WasmBuildNative>, I can reproduce the issue. @pavelsavara does IDBFS need to be exported in our API?
@lewing sorry but it's available in .net 6 and have breaking changes in .net 7. this not better to solve this in .net 7? I think this not a bug or new feature this is changed in .net 7 but I don't know how to use it in .net 7 and i dont find any documentation about this
@sajjadarashhh we plan to investigate this and fix it if possible. Marking the issue for net8.0 does not mean we won't fix it in net7.0. Once we have a fix it will be considered for net7.0 but specific emscripten features are not a part of the supported api.
Activity
SamMonoRT commentedon Aug 29, 2022
@lewing @radical @kg - please triage
radical commentedon Aug 29, 2022
-bl, and share the generatedmsbuild.binlog?14 remaining items
sajjadarashhh commentedon Aug 29, 2022
@lewing sorry but it's available in .net 6 and have breaking changes in .net 7.
this not better to solve this in .net 7?
I think this not a bug or new feature this is changed in .net 7 but I don't know how to use it in .net 7 and i dont find any documentation about this
radical commentedon Aug 29, 2022
I tried this repo, and it fails with:

Is this the error that you were talking about?
@pavelsavara Does this look related to the new interop API? Maybe MudBlazor needs to make changes for that.
I don't see this file. Also, I don't see any
-lidbfs.js, orwindow.Module.*.@TanayParikh I don't see a runtime issue as yet. Should I move this to
aspnetcore?sajjadarashhh commentedon Aug 29, 2022
@radical Oh sorry no!
this issue is not about .net,wait i check repo and take again
sajjadarashhh commentedon Aug 29, 2022
i dont know how do you get this error.
but i have this problem.
@radical
sajjadarashhh commentedon Aug 29, 2022
please get latest changes of repo i have few changes for your problem
radical commentedon Aug 29, 2022
With
wasm-toolsworkload installed, and using<WasmBuildNative>true</WasmBuildNative>, I can reproduce the issue.@pavelsavara does
IDBFSneed to be exported in our API?lewing commentedon Aug 30, 2022
@sajjadarashhh we plan to investigate this and fix it if possible. Marking the issue for net8.0 does not mean we won't fix it in net7.0. Once we have a fix it will be considered for net7.0 but specific emscripten features are not a part of the supported api.
pavelsavara commentedon Aug 30, 2022
The Net7 runtime is not spilling the emscripten guts into JS global namespace anymore.
In your code
https://github.com/sajjadarashhh/Test.net7/blob/f8280d225d1f4e549c129fc94cfa8b101ce9763a/MultipleEventHandlers/MultipleEventHandlers/wwwroot/file.js#L3-L4
The
IDBFSis not global anymore. Please try to replace it withwindow.Module.FS.filesystems.IDBFSPlease re-open, if that doesn't help.
sajjadarashhh commentedon Aug 30, 2022
sorry.
theres no documentation about this for .net?
@pavelsavara