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

Update error message on failing to find hostpolicy for self-contained #33193

Merged
merged 1 commit into from
Mar 5, 2020

Conversation

elinor-fung
Copy link
Member

  • Specify if the config wasn't found versus didn't have a framework
  • Show message for apphost (not just dotnet)

No runtimeconfig:

Failed to run as a self-contained app.
  - The application was run as a self-contained app because '<...>' was not found.
  - If this should be a framework-dependent app, add the '<...>' file and specify the appropriate framework.

No framework specified:

Failed to run as a self-contained app.
  - The application was run as a self-contained app because '<...>' did not specify a framework.
  - If this should be a framework-dependent app, specify the appropriate framework in '<...>'.

- Specify if the config wasn't found versus didn't have a framework
- Show message for apphost (not just dotnet)
@elinor-fung elinor-fung merged commit e2881ae into dotnet:master Mar 5, 2020
@elinor-fung elinor-fung deleted the selfContainedErrorMessage branch March 5, 2020 07:32
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
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.

3 participants