-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wasm: FS is not defined on .NET 7 #67290
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsDescriptionDirected here by Steve Sanderson. Reproduction Steps
Expected behaviorNo errors thrown for both projects Actual behaviorThe project on .NET 7.0 throws the following error:
Regression?.NET 6 Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
I think your specific issue is probably fixed by #66868 but we'll have to test to be sure. cc @pavelsavara |
Hello @lewing, just fyi, I am still able to reproduce this issue on .NET 7 Preview 3. |
The dotnet wasm runtime does not spill it's guts to JS global namespace in Net 7.0. |
@pavelsavara that works, thank you! |
Description
Directed here by Steve Sanderson.
Reproduction Steps
dotnet new blazorwasm -f net6.0
dotnet new blazorwasm
Index.razor
:fs.js
inwwwroot
and add the following code:Expected behavior
No errors thrown for both projects
Actual behavior
The project on .NET 7.0 throws the following error:
Regression?
.NET 6
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: