Skip to content

Commit

Permalink
Fixed possible crash opening up UWP projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Aug 18, 2023
1 parent 50fae1b commit a57bde6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class BuildLogic : Singleton<BuildLogic>
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";
}
Expand Down

0 comments on commit a57bde6

Please sign in to comment.