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

hostfxr_* Functions Return int Instead of StatusCode Enum #110891

Open
ArthurVasseur opened this issue Dec 22, 2024 · 1 comment
Open

hostfxr_* Functions Return int Instead of StatusCode Enum #110891

ArthurVasseur opened this issue Dec 22, 2024 · 1 comment
Labels
area-Host untriaged New issue has not been triaged by the area owner

Comments

@ArthurVasseur
Copy link

ArthurVasseur commented Dec 22, 2024

Context: While developing with the Hostfxr library, I noticed that the hostfxr_* functions return an int rather than a StatusCode enum.
Problem:

Developers must manually redefine or map the possible return codes to understand and handle the status of the functions properly.
Even after downloading the .NET SDK (e.g., dotnet-sdk-8.0.301-win-x64.zip), the error_codes.h file is not included.

Thank you for considering this enhancement to the Hostfxr library!

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Host untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

1 participant