Skip to content

Add support for Visual Studio 2022 #253

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

Merged
merged 8 commits into from
May 15, 2022
7 changes: 5 additions & 2 deletions ue4docker/infrastructure/BuildConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@
class VisualStudio(object):
VS2017 = "2017"
VS2019 = "2019"
VS2022 = "2022"

BuildNumbers = {
VS2017: "15",
VS2019: "16",
VS2022: "17",
}

MinSupportedUnreal = {
Expand All @@ -55,7 +57,8 @@ class VisualStudio(object):
#
# Unreal Engine 4.25 is the first that works with .NET SDK 4.7+
# See https://github.com/EpicGames/UnrealEngine/commit/5256eedbdef30212ab69fdf4c09e898098959683
VS2019: semver.VersionInfo(4, 25)
VS2019: semver.VersionInfo(4, 25),
VS2022: semver.VersionInfo(4, 25),
}


Expand Down Expand Up @@ -169,7 +172,7 @@ def addArguments(parser):
)
parser.add_argument(
"--visual-studio",
default=VisualStudio.VS2017,
default=VisualStudio.VS2019,
choices=VisualStudio.BuildNumbers.keys(),
help="Specify Visual Studio Build Tools version to use for Windows containers",
)
Expand Down