1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

C#: Enable nullable environment for GodotTools

This commit is contained in:
Thaddeus Crews
2024-01-12 22:24:12 -06:00
parent 9adb7c7d13
commit 3314f8cc65
47 changed files with 349 additions and 194 deletions

View File

@@ -34,7 +34,7 @@ namespace GodotTools.ProjectEditor
public static void MSBuildLocatorRegisterMSBuildPath(string msbuildPath)
=> MSBuildLocator.RegisterMSBuildPath(msbuildPath);
public static MSBuildProject Open(string path)
public static MSBuildProject? Open(string path)
{
var root = ProjectRootElement.Open(path);
return root != null ? new MSBuildProject(root) : null;