50b603c7dc
We're targeting .NET 5 for now to make development easier while .NET 6 is not yet released. TEMPORARY REGRESSIONS --------------------- Assembly unloading is not implemented yet. As such, many Godot resources are leaked at exit. This will be re-implemented later together with assembly hot-reloading.
98 lines
4.9 KiB
XML
98 lines
4.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<ProjectGuid>{AEBF0036-DA76-4341-B651-A3F2856AB2FA}</ProjectGuid>
|
|
<OutputPath>bin/$(Configuration)</OutputPath>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<RootNamespace>Godot</RootNamespace>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<DocumentationFile>$(OutputPath)/$(AssemblyName).xml</DocumentationFile>
|
|
<EnableDefaultItems>false</EnableDefaultItems>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<LangVersion>9</LangVersion>
|
|
|
|
<!-- Disabled temporarily as it pollutes the warnings, but we need to document public APIs. -->
|
|
<NoWarn>CS1591</NoWarn>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<DefineConstants>$(DefineConstants);GODOT</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="ReflectionAnalyzers" Version="0.1.22-dev" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
|
|
<!--PackageReference Include="IDisposableAnalyzers" Version="3.4.13" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers" /-->
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Core\AABB.cs" />
|
|
<Compile Include="Core\Array.cs" />
|
|
<Compile Include="Core\Attributes\AssemblyHasScriptsAttribute.cs" />
|
|
<Compile Include="Core\Attributes\DisableGodotGeneratorsAttribute.cs" />
|
|
<Compile Include="Core\Attributes\ExportAttribute.cs" />
|
|
<Compile Include="Core\Attributes\GodotMethodAttribute.cs" />
|
|
<Compile Include="Core\Attributes\RPCAttributes.cs" />
|
|
<Compile Include="Core\Attributes\ScriptPathAttribute.cs" />
|
|
<Compile Include="Core\Attributes\SignalAttribute.cs" />
|
|
<Compile Include="Core\Attributes\ToolAttribute.cs" />
|
|
<Compile Include="Core\Basis.cs" />
|
|
<Compile Include="Core\Bridge\CSharpInstanceBridge.cs" />
|
|
<Compile Include="Core\Bridge\GCHandleBridge.cs" />
|
|
<Compile Include="Core\Bridge\ManagedCallbacks.cs" />
|
|
<Compile Include="Core\Bridge\ScriptManagerBridge.cs" />
|
|
<Compile Include="Core\Callable.cs" />
|
|
<Compile Include="Core\Color.cs" />
|
|
<Compile Include="Core\Colors.cs" />
|
|
<Compile Include="Core\DebuggingUtils.cs" />
|
|
<Compile Include="Core\DelegateUtils.cs" />
|
|
<Compile Include="Core\Dictionary.cs" />
|
|
<Compile Include="Core\Dispatcher.cs" />
|
|
<Compile Include="Core\Extensions\NodeExtensions.cs" />
|
|
<Compile Include="Core\Extensions\ObjectExtensions.cs" />
|
|
<Compile Include="Core\Extensions\PackedSceneExtensions.cs" />
|
|
<Compile Include="Core\Extensions\ResourceLoaderExtensions.cs" />
|
|
<Compile Include="Core\Extensions\SceneTreeExtensions.cs" />
|
|
<Compile Include="Core\GD.cs" />
|
|
<Compile Include="Core\GodotSynchronizationContext.cs" />
|
|
<Compile Include="Core\GodotTaskScheduler.cs" />
|
|
<Compile Include="Core\GodotTraceListener.cs" />
|
|
<Compile Include="Core\GodotUnhandledExceptionEvent.cs" />
|
|
<Compile Include="Core\Interfaces\IAwaitable.cs" />
|
|
<Compile Include="Core\Interfaces\IAwaiter.cs" />
|
|
<Compile Include="Core\Interfaces\ISerializationListener.cs" />
|
|
<Compile Include="Core\Mathf.cs" />
|
|
<Compile Include="Core\MathfEx.cs" />
|
|
<Compile Include="Core\NativeInterop\ExceptionUtils.cs" />
|
|
<Compile Include="Core\NativeInterop\InteropUtils.cs" />
|
|
<Compile Include="Core\NativeInterop\NativeFuncs.extended.cs" />
|
|
<Compile Include="Core\NativeInterop\VariantSpanHelpers.cs" />
|
|
<Compile Include="Core\NativeInterop\VariantUtils.cs" />
|
|
<Compile Include="Core\NodePath.cs" />
|
|
<Compile Include="Core\Object.base.cs" />
|
|
<Compile Include="Core\Object.exceptions.cs" />
|
|
<Compile Include="Core\Plane.cs" />
|
|
<Compile Include="Core\Quaternion.cs" />
|
|
<Compile Include="Core\Rect2.cs" />
|
|
<Compile Include="Core\Rect2i.cs" />
|
|
<Compile Include="Core\RID.cs" />
|
|
<Compile Include="Core\NativeInterop\NativeFuncs.cs" />
|
|
<Compile Include="Core\NativeInterop\InteropStructs.cs" />
|
|
<Compile Include="Core\NativeInterop\Marshaling.cs" />
|
|
<Compile Include="Core\SignalInfo.cs" />
|
|
<Compile Include="Core\SignalAwaiter.cs" />
|
|
<Compile Include="Core\StringExtensions.cs" />
|
|
<Compile Include="Core\StringName.cs" />
|
|
<Compile Include="Core\Transform2D.cs" />
|
|
<Compile Include="Core\Transform3D.cs" />
|
|
<Compile Include="Core\UnhandledExceptionArgs.cs" />
|
|
<Compile Include="Core\Vector2.cs" />
|
|
<Compile Include="Core\Vector2i.cs" />
|
|
<Compile Include="Core\Vector3.cs" />
|
|
<Compile Include="Core\Vector3i.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<!--
|
|
We import a props file with auto-generated includes. This works well with Rider.
|
|
However, Visual Studio and MonoDevelop won't list them in the solution explorer.
|
|
We can't use wildcards as there may be undesired old files still hanging around.
|
|
Fortunately code completion, go to definition and such still work.
|
|
-->
|
|
<Import Project="Generated\GeneratedIncludes.props" />
|
|
</Project>
|