Skip to content
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

File not fount Exception #29

Open
rettt767 opened this issue Apr 14, 2023 · 0 comments
Open

File not fount Exception #29

rettt767 opened this issue Apr 14, 2023 · 0 comments

Comments

@rettt767
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant