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: steps:
build: build:
image: mcr.microsoft.com/dotnet/sdk:6.0 image: mcr.microsoft.com/dotnet/sdk:8.0-jammy
commands: commands:
- dotnet build Contentless - dotnet build Contentless
test: test:
image: mcr.microsoft.com/dotnet/sdk:6.0 image: mcr.microsoft.com/dotnet/sdk:8.0-jammy
commands: commands:
- dotnet restore Test - dotnet restore Test
- dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj - dotnet run --project Contentless Test/Content/Content.mgcb Test/Test.csproj

View file

@ -2,9 +2,8 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<RollForward>Major</RollForward> <RollForward>Major</RollForward>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>

View file

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