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

The Enum Humanizer Conversion to its Description not working on .Net 7 Project #1511

Closed
Sudheesh-TalentzQ opened this issue May 29, 2024 · 8 comments

Comments

@Sudheesh-TalentzQ
Copy link

I tried with both new .Net7 and .Net8 Projects by creating an enum and giving it a description, while it works perfectly on .Net8 it is throwing error in .Net7 Project

Screenshot (27)

Is there any way to fix this issue in .Net7

@SimonCropp
Copy link
Collaborator

@Sudheesh-TalentzQ can u try the current beta version?

@Sudheesh-TalentzQ
Copy link
Author

@SimonCropp I'm using the latest version.

@Sudheesh-TalentzQ
Copy link
Author

Sorry i Accidently Closed the issue

@SimonCropp
Copy link
Collaborator

can u share a minimal repro

@Sudheesh-TalentzQ
Copy link
Author

Sudheesh-TalentzQ commented May 30, 2024

Humanizer.zip

check this sample project

@SimonCropp
Copy link
Collaborator

looks like a problem with the nuspec. i have fixed it here #1513

in the short term an explicit reference should fix it

    <PackageReference Include="System.Collections.Immutable" Version="8.0.0" />

@Sudheesh-TalentzQ
Copy link
Author

Thank you @SimonCropp , That fixed it

@gregoriusus
Copy link

Thank you @SimonCropp , That fixed it

But, can you translate/localize Enums?

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

3 participants