From a57bde6be1cdf73fdd676631a567abdd1ca48971 Mon Sep 17 00:00:00 2001 From: Victor Chelaru Date: Fri, 18 Aug 2023 14:47:07 -0600 Subject: [PATCH] Fixed possible crash opening up UWP projects. --- FRBDK/Glue/OfficialPlugins/ContentPipelinePlugin/BuildLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FRBDK/Glue/OfficialPlugins/ContentPipelinePlugin/BuildLogic.cs b/FRBDK/Glue/OfficialPlugins/ContentPipelinePlugin/BuildLogic.cs index 2dc60caf0..141d9ec1f 100644 --- a/FRBDK/Glue/OfficialPlugins/ContentPipelinePlugin/BuildLogic.cs +++ b/FRBDK/Glue/OfficialPlugins/ContentPipelinePlugin/BuildLogic.cs @@ -32,7 +32,7 @@ public class BuildLogic : Singleton static string GetCommandLineBuildExe(VisualStudioProject project) { - if(project.DotNetVersion.Major >= 6) + if(project.DotNetVersion?.Major >= 6) { return Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + @"\.dotnet\tools\mgcb.exe"; }