Skip to content

File not fount Exception #29

@rettt767

Description

@rettt767
SharpSerializer sharpSerializer = new SharpSerializer(true);
using (FileStream stream = new FileStream(@"E:\JetBrains Workspace\RiderProjects\ss_c\pro.bin",
         FileMode.Open, FileAccess.Read))
{
         var objs = sharpSerializer.Deserialize(stream);
}

The code is as above.
I reported an error when using it according to the official example:

Unhandled exception. Polenter.Serialization.Core.DeserializingException: An error occured during the deserialization. Details are in the inner exception.
 ---> System.IO.FileNotFoundException: Could not load file or assembly 'Data, Culture=neutral, PublicKeyToken=null'. System could not find file.
File name: 'Data, Culture=neutral, PublicKeyToken=null'

But the file is exists.

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