-
Notifications
You must be signed in to change notification settings - Fork 62
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
ReadAsync dont work when Release #103
Comments
Sounds like a framework bug but sounds can be deceiving. Ill try to find the time to reproduce in the coming days. Could you create a small project that reproduces this? Or at least post your full setup? Your setup could possibly affect this - there has been some issues in the framework regarding static resources and release/publish |
Try the solution in #97 and see if this works for you Thought it sounded familiar |
I can't reproduce this. Please provide a full repro project. |
I changed code. It was working till now (Blazor 3.2)
Now I have problem with 'Blazor.platform.findMethod' in javascript, but I see, that this promlem is beeing investigated in another thread. |
I'm closing this as the original issue is resolved |
function
public Task ReadAsync(byte[] buffer, int offset, int count)
works correctly, when I'm in debug mode, but when I'm in release mode or when I publish blazor web assembly project, that function always return 0.
Here is my code :
```
var fs = await files.FirstOrDefault().OpenReadAsync();
Console.WriteLine(fs.Length);
byte[] data = new byte[fs.Length];
The text was updated successfully, but these errors were encountered: