mirror of
https://git.tonybark.com/tonytins/Longhorn.git
synced 2026-02-10 08:14:51 -05:00
58 lines
2.4 KiB
XML
58 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<IsPackable>false</IsPackable>
|
|
<RollForward>LatestMajor</RollForward>
|
|
</PropertyGroup>
|
|
|
|
<!-- 2dog packages -->
|
|
<ItemGroup>
|
|
<PackageReference Include="2dog" Version="0.1.14-pre" />
|
|
<PackageReference Include="2dog.xunit" Version="0.1.14-pre" />
|
|
<PackageReference Include="GodotSharp" Version="4.6.0" />
|
|
</ItemGroup>
|
|
|
|
<!-- Platform-specific native library packages -->
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
|
|
<PackageReference Include="2dog.win-x64" Version="0.1.10-pre" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
|
|
<PackageReference Include="2dog.linux-x64" Version="0.1.10-pre" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
|
|
<PackageReference Include="2dog.osx-arm64" Version="0.1.11-pre" />
|
|
</ItemGroup>
|
|
|
|
<!-- Test framework packages -->
|
|
<ItemGroup>
|
|
<PackageReference Include="coverlet.collector" Version="6.0.4">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
|
|
<PackageReference Include="xunit" Version="2.9.3" />
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Using Include="Xunit" />
|
|
</ItemGroup>
|
|
|
|
<!-- Godot project location -->
|
|
<PropertyGroup>
|
|
<GodotProjectDir>../Longhorn/project</GodotProjectDir>
|
|
</PropertyGroup>
|
|
|
|
<!-- Remove duplicate Godot.SourceGenerators that come from GodotSharp package
|
|
(2dog package already embeds them) -->
|
|
<Target Name="RemoveDuplicateGodotAnalyzers" BeforeTargets="CoreCompile">
|
|
<ItemGroup>
|
|
<Analyzer Remove="@(Analyzer)" Condition="$([System.String]::Copy('%(Analyzer.Identity)').Contains('Godot.SourceGenerators'))" />
|
|
</ItemGroup>
|
|
</Target>
|
|
</Project>
|