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

Add innerException to ResourceReader FileNotFoundException #72957

Merged
merged 3 commits into from
Aug 5, 2022
Merged

Conversation

joperezr
Copy link
Member

@ghost
Copy link

ghost commented Jul 27, 2022

Tagging subscribers to this area: @dotnet/area-system-resources
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #48159

cc: @ericstj @filipnavara

Author: joperezr
Assignees: -
Labels:

area-System.Resources

Milestone: -

Copy link
Member

@filipnavara filipnavara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ericstj
Copy link
Member

ericstj commented Jul 27, 2022

Add innerException to ResourceReader when it doesn't support serialization

This is a misnomer. We actually do support deserialization in this case, but the code from when we didn't was left behind. Have a look at my suggestion.

@dotnet dotnet deleted a comment from azure-pipelines bot Aug 3, 2022
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix!

@joperezr joperezr changed the title Add innerException to ResourceReader when it doesn't support serialization Add innerException to ResourceReader FileNotFoundException Aug 5, 2022
@joperezr joperezr merged commit 4b7f748 into main Aug 5, 2022
@joperezr joperezr deleted the Fix48159 branch August 5, 2022 19:57
@ghost ghost locked as resolved and limited conversation to collaborators Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

net 5 Cannot read resources that depend on serialization
5 participants