Reduce minimum .NET requirement to 4.6.1.

4.7.2 causes compatibility issues with Mono 5.4
in the interim period before we migrate to netstandard2.
This commit is contained in:
Paul Chote
2019-04-27 15:47:42 +00:00
committed by reaperrr
parent a4bac42c7f
commit 761b5e094d
2 changed files with 3 additions and 3 deletions

View File

@@ -181,9 +181,9 @@ Section "-DotNet" DotNet
; https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
ReadRegDWORD $0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Release"
IfErrors error 0
IntCmp $0 461808 done error done
IntCmp $0 394254 done error done
error:
MessageBox MB_OK ".NET Framework v4.7.2 or later is required to run OpenRA."
MessageBox MB_OK ".NET Framework v4.6.1 or later is required to run OpenRA."
Abort
done:
SectionEnd