Skip to content

Aligned Versions for Blazor.FileSystemAccess #58

@warappa

Description

@warappa

First thank you for your library!

Unfortunately, I run into major problems. I tried to use the latest version (3.3.0). Loading files from a directory works, but then the writing of files fail (see exception 1 below). Then I tried to update the dependencies (especially Blazor.Streams) but then MissingMethodExceptions or other incompatibilities started to pop up on loading.
Since yesterday I try to get a combination that works for reading and writing.

What is the most-up-to-date combination of the following libraries?

  • KristofferStrube.Blazor.FileAPI
  • KristofferStrube.Blazor.FileSystem
  • KristofferStrube.Blazor.FileSystemAccess
  • KristofferStrube.Blazor.Streams
  • KristofferStrube.Blazor.WebIDL

I think I need higher Blazor.Streams library, but that breaks other stuff.
Especially these fixes look like what I would need:
KristofferStrube/Blazor.Streams#3
KristofferStrube/Blazor.Streams#23

As you were releasing new versions of your other libraries in the last few days, do you plan to update this also in the near future?

Exception 1:

System.ArgumentException: Argument_DestinationTooShort Arg_ParamName_Name, destination
   at KristofferStrube.Blazor.Streams.ReadableStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
   at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream source, Stream destination, Int32 bufferSize, CancellationToken cancellationToken)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions