Skip to content

Commit

Permalink
Trying .net 7
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-42 committed Dec 25, 2024
1 parent 55daa59 commit 130a662
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions WinchLauncher/Launcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ void StartGameViaExe()
}
catch (ReflectionTypeLoadException ex)
{
Console.WriteLine("Only partially loaded assembly: " + ex.Message);

// Apparently this can happen
types = ex.Types.Where(x => x != null).Select(x => x.Name).ToList();
}
Expand Down
2 changes: 1 addition & 1 deletion WinchLauncher/WinchLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>.net7</TargetFramework>
<LangVersion>latest</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
Expand Down

0 comments on commit 130a662

Please sign in to comment.