|
@@ -23,11 +23,15 @@ namespace GodotTools.ProjectEditor
|
|
|
|
|
|
var mainGroup = root.AddPropertyGroup();
|
|
|
mainGroup.AddProperty("TargetFramework", "net6.0");
|
|
|
- mainGroup.AddProperty("EnableDynamicLoading", "true");
|
|
|
+
|
|
|
+ var net7 = mainGroup.AddProperty("TargetFramework", "net7.0");
|
|
|
+ net7.Condition = " '$(GodotTargetPlatform)' == 'android' ";
|
|
|
|
|
|
var net8 = mainGroup.AddProperty("TargetFramework", "net8.0");
|
|
|
net8.Condition = " '$(GodotTargetPlatform)' == 'ios' ";
|
|
|
|
|
|
+ mainGroup.AddProperty("EnableDynamicLoading", "true");
|
|
|
+
|
|
|
string sanitizedName = IdentifierUtils.SanitizeQualifiedIdentifier(name, allowEmptyIdentifiers: true);
|
|
|
|
|
|
// If the name is not a valid namespace, manually set RootNamespace to a sanitized one.
|