UnrealBuildTool: Disallow .NET projects in the generated VS2019 solution and warn when generating

#jira UE-160343
#rnx
#rb trivial
#preflight 63066534a45b007ea2ae28b3

[CL 21546950 by Joe Kirchoff in ue5-main branch]
This commit is contained in:
Joe Kirchoff
2022-08-24 14:06:10 -04:00
parent 7e56385289
commit 929828c6f4
@@ -319,6 +319,13 @@ namespace UnrealBuildTool
}
}
}
if (bIncludeDotNetPrograms && Settings.ProjectFileFormat == VCProjectFileFormat.VisualStudio2019)
{
Logger.LogWarning("Visual Studio 2019 does not support .NET 6.0 C# projects, these projects will not be added to the generated solution.");
Logger.LogWarning("Please generate the Visual Studio 2022 solution if .NET 6.0 C# project support is required.");
bIncludeDotNetPrograms = false;
}
}