updated to .net 8 lts

This commit is contained in:
Ell 2023-12-21 18:33:46 +01:00
parent ec0eb59871
commit b2affa9f88
3 changed files with 11 additions and 8 deletions

View file

@ -1,10 +1,10 @@
steps:
build:
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0-jammy
commands:
- dotnet build Contentless
test:
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0-jammy
commands:
- dotnet restore Test
- dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj

View file

@ -1,16 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RollForward>Major</RollForward>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup>
<NuspecFile>Contentless.nuspec</NuspecFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MonoGame.Framework.Content.Pipeline" Version="3.8.0.1641">
<PrivateAssets>All</PrivateAssets>

View file

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<MonoGamePlatform>DesktopGL</MonoGamePlatform>
</PropertyGroup>
@ -14,4 +14,8 @@
<MonoGameContentReference Include="Content\Content.mgcb" />
</ItemGroup>
<ItemGroup>
<Folder Include="Test\" />
</ItemGroup>
</Project>