virtualx-engine/modules/mono/editor
Jason Hunter bdbd9995f8
Add property UsingGodotNETSdk to Godot.NET.Sdk
The Godot.NET.Sdk (for C# use) should define the property `UsingGodotNETSdk` in its [SDK.props](a07dd0d6a5/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props).  

## Why
Defining this property allows shared build configuration (e.g. Directory.Build.targets or other imported msbuild files) to detect deterministically when they are operating within the scope of a project controlled by Godot.NET.Sdk.  This enables shared build configuration that may span many different projects within a folder to have Godot.NET.Sdk-specific configuration that only applies to Godot projects.

## Why named UsingGodotNETSdk
This naming scheme is common practice in Microsoft Dotnet SDKs.  For example, the property `UsingMicrosoftNETSdk` is defined by the default SDK, `UsingMicrosoftTraversalSdk` is defined by [Microsoft.Build.Traversal](363532de5b/src/Traversal/Sdk/Sdk.props (L10)), `UsingMicrosoftNoTargetsSdk` by [Microsoft.Build.NoTargets](363532de5b/src/NoTargets/Sdk/Sdk.props (L10)), and so on.  The property `UsingMicrosoftNETSdk` is even used in the implementation of Godot.NET.Sdk for conditional logic of the type predicted here.

Note that these "Using*" properties are _additive_ in the sense that more than one can be defined for a given project (as SDKs can effectively be built upon other SDKs, using them as components).  So, it is normal and appropriate for both `UsingMicrosoftNETSdk` and `UsingGodotNETSdk` to be simultaneously defined within the same project.
2024-03-18 09:48:52 -07:00
..
Godot.NET.Sdk Add property UsingGodotNETSdk to Godot.NET.Sdk 2024-03-18 09:48:52 -07:00
GodotTools Merge pull request #88570 from paulloz/dotnet/warnings-editorconfig-cleanup 2024-02-27 21:23:03 +01:00
script_templates Add two new COMSTR environment variables 2024-03-01 12:44:03 -06:00
bindings_generator.cpp C#: Fix warnings 2024-03-09 17:05:23 +01:00
bindings_generator.h C#: Add deprecated message to generated bindings 2024-02-23 20:30:36 +01:00
code_completion.cpp Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
code_completion.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_internal_calls.cpp Merge pull request #86676 from rune-scape/sparse-script-reload 2024-01-17 18:52:54 +01:00
editor_internal_calls.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
hostfxr_resolver.cpp clang-tidy: Enforce modernize-use-nullptr 2024-03-12 10:59:53 -05:00
hostfxr_resolver.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
semver.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
semver.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00