LifeSourcesLight: Migrate mod to newer standards

- Migrate from .NET 6.0 to .NET 8.0
- Update launchSettings.json
This commit is contained in:
Chev 2025-05-22 02:07:39 -07:00
parent 5c4e6dee2c
commit b9bcd0e749
Signed by: chev2
GPG key ID: 0B212D6AED495EC9
2 changed files with 10 additions and 7 deletions

View file

@ -1,13 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<!-- Import tModLoader mod properties -->
<Import Project="..\tModLoader.targets" />
<!-- General -->
<PropertyGroup>
<AssemblyName>LifeSourcesLight</AssemblyName>
<TargetFramework>net6.0</TargetFramework>
<PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>latest</LangVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
</PropertyGroup>
<!-- References -->
<ItemGroup>
<PackageReference Include="tModLoader.CodeAssist" Version="0.1.*" />
</ItemGroup>
</Project>
</Project>

View file

@ -2,13 +2,13 @@
"profiles": {
"Terraria": {
"commandName": "Executable",
"executablePath": "dotnet",
"executablePath": "$(DotNetName)",
"commandLineArgs": "$(tMLPath)",
"workingDirectory": "$(tMLSteamPath)"
},
"TerrariaServer": {
"commandName": "Executable",
"executablePath": "dotnet",
"executablePath": "$(DotNetName)",
"commandLineArgs": "$(tMLServerPath)",
"workingDirectory": "$(tMLSteamPath)"
}