[vcpkg] Improve error messages for incomplete Mono#14948
Merged
ras0219-msft merged 4 commits intomicrosoft:masterfrom Dec 11, 2020
Merged
[vcpkg] Improve error messages for incomplete Mono#14948ras0219-msft merged 4 commits intomicrosoft:masterfrom
ras0219-msft merged 4 commits intomicrosoft:masterfrom
Conversation
…users needing to install it twice
vicroms
approved these changes
Dec 5, 2020
BillyONeal
reviewed
Dec 6, 2020
BillyONeal
approved these changes
Dec 8, 2020
Jimmy-Hu
added a commit
to Jimmy-Hu/vcpkg
that referenced
this pull request
Dec 11, 2020
[vcpkg] Improve error messages for incomplete Mono (microsoft#14948)
strega-nil
pushed a commit
to strega-nil/vcpkg
that referenced
this pull request
May 5, 2021
* [vcpkg] Improve error messages for incomplete Mono * [vcpkg] Add mono upgrade notice for Ubuntu 18.04 users * [vcpkg] Fix always failing to check CMake version due to preferring 'error' constructor in ExpectedS * [vcpkg] Eagerly display the 'Ubuntu needs new mono' message to avoid users needing to install it twice Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #14784 by providing better error information when the user has an incomplete mono installation (i.e. just
mono-runtimeinstead ofmono-complete). It also partially improves #14304 for Ubuntu 18.04 users, noting that they will need to get a newer version ofmonothan is available in apt.Example 1
Before:
After
Example 2
Before:
After: