Compare commits

..

2 commits

Author SHA1 Message Date
8312ada370 Bumped 2dog versions to latest prerelease
This resolves some dependency issues as well.
2026-02-04 00:46:24 -05:00
d6c0be0325 RollForward support
- Added Forward compatibility with newer SDKs.
- Added root items into solution.
2026-02-04 00:04:24 -05:00
5 changed files with 40 additions and 14 deletions

6
Directory.Build.props Normal file
View file

@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<!-- Allow running on any .NET 8+ runtime (8, 9, 10, ...) -->
<RollForward>LatestMajor</RollForward>
</PropertyGroup>
</Project>

View file

@ -1,15 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net10.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<RollForward>LatestMajor</RollForward>
</PropertyGroup> </PropertyGroup>
<!-- 2dog packages --> <!-- 2dog packages -->
<ItemGroup> <ItemGroup>
<PackageReference Include="2dog" Version="0.1.10-pre"/> <PackageReference Include="2dog" Version="0.1.14-pre" />
<PackageReference Include="2dog.xunit" Version="0.1.10-pre"/> <PackageReference Include="2dog.xunit" Version="0.1.14-pre" />
<PackageReference Include="GodotSharp" Version="4.6.0" /> <PackageReference Include="GodotSharp" Version="4.6.0" />
</ItemGroup> </ItemGroup>
@ -21,15 +22,21 @@
<PackageReference Include="2dog.linux-x64" Version="0.1.10-pre" /> <PackageReference Include="2dog.linux-x64" Version="0.1.10-pre" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))"> <ItemGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<PackageReference Include="2dog.osx-arm64" Version="0.1.10-pre"/> <PackageReference Include="2dog.osx-arm64" Version="0.1.11-pre" />
</ItemGroup> </ItemGroup>
<!-- Test framework packages --> <!-- Test framework packages -->
<ItemGroup> <ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.2"/> <PackageReference Include="coverlet.collector" Version="6.0.4">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0"/> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PackageReference Include="xunit" Version="2.9.2"/> <PrivateAssets>all</PrivateAssets>
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"/> </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>
<ItemGroup> <ItemGroup>

View file

@ -1,4 +1,10 @@
<Solution> <Solution>
<Folder Name="/Solution Items/">
<File Path=".editorconfig" />
<File Path="Directory.Build.props" />
<File Path="global.json" />
<File Path="README.md" />
</Folder>
<Project Path="Longhorn.Tests/Longhorn.Tests.csproj" /> <Project Path="Longhorn.Tests/Longhorn.Tests.csproj" />
<Project Path="Longhorn/Longhorn.csproj" /> <Project Path="Longhorn/Longhorn.csproj" />
</Solution> </Solution>

View file

@ -1,14 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net10.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
<RollForward>LatestMajor</RollForward>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="2dog" Version="0.1.10-pre"/> <PackageReference Include="2dog" Version="0.1.14-pre" />
</ItemGroup> </ItemGroup>
<!-- Godot project location --> <!-- Godot project location -->

6
global.json Normal file
View file

@ -0,0 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"rollForward": "latestMajor"
}
}