Skip to content

Commit

Permalink
Updated .NET to 6.0.3, fixes some ITileData issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirsario committed Apr 10, 2022
1 parent 40c04ab commit 641d6f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Install .NET SDKs
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '6.0.3'

# Runs a set of commands using the runners shell
- name: Build script
Expand Down
6 changes: 4 additions & 2 deletions patches/TerrariaNetCore/Configuration.targets.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
--- src/Terraria/Configuration.targets
+++ src/TerrariaNetCore/Configuration.targets
@@ -1,26 +_,13 @@
@@ -1,26 +_,15 @@
<Project>
<PropertyGroup>
- <TargetFramework>net40</TargetFramework>
- <Configurations>WindowsDebug;WindowsRelease;WindowsServerDebug;WindowsServerRelease;LinuxRelease;LinuxServerRelease;MacRelease;MacServerRelease</Configurations>
- <PlatformTarget>x86</PlatformTarget>
+ <TargetFramework>net6.0</TargetFramework>
+ <!-- Defines the Minimum patch version that is required to play. -->
+ <RuntimeFrameworkVersion>6.0.0</RuntimeFrameworkVersion>
+ <RuntimeFrameworkVersion>6.0.3</RuntimeFrameworkVersion>
+ <!-- Eliminates the Refs folder from output-->
+ <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
+ <Configurations>Debug;Release</Configurations>
+ <PlatformTarget>AnyCPU</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
11 changes: 0 additions & 11 deletions patches/tModLoader/Configuration.targets.patch

This file was deleted.

2 changes: 1 addition & 1 deletion setup/Setup/HookGenTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Terraria.ModLoader.Setup
{
internal class HookGenTask : SetupOperation
{
private const string dotnetSdkVersion = "6.0.0";
private const string dotnetSdkVersion = "6.0.3";
private const string libsPath = "src/tModLoader/Terraria/Libraries";
private const string binLibsPath = "src/tModLoader/Terraria/bin/Release/net6.0/Libraries";
private const string tmlAssemblyPath = @"src/tModLoader/Terraria/bin/Release/net6.0/tModLoader.dll";
Expand Down

0 comments on commit 641d6f0

Please sign in to comment.