mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-07 01:26:14 -08:00
Warn about old .Net version if methods are missing
This commit is contained in:
@@ -996,7 +996,13 @@ public class Setup {
|
|||||||
WriteLine();
|
WriteLine();
|
||||||
WriteLine($"Unexpected error: {e.Message}");
|
WriteLine($"Unexpected error: {e.Message}");
|
||||||
Log(e.ToString());
|
Log(e.ToString());
|
||||||
WriteLine("If this is the most current release, please report this bug.");
|
if (e is MissingMemberException || e is TypeLoadException) {
|
||||||
|
WriteLine("This installer requires a recent version of .Net Framework.");
|
||||||
|
WriteLine("Use Windows Update or download manually:");
|
||||||
|
WriteLine("https://dotnet.microsoft.com/en-us/download/dotnet-framework");
|
||||||
|
} else {
|
||||||
|
WriteLine("If this is the most current release, please report this bug.");
|
||||||
|
}
|
||||||
return 1;
|
return 1;
|
||||||
} finally {
|
} finally {
|
||||||
if (DryRun) {
|
if (DryRun) {
|
||||||
|
|||||||
Reference in New Issue
Block a user