Skip to content

Commit 34aa23a

Browse files
committed
fix: Update multi-player server build to match others
1 parent 6670026 commit 34aa23a

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

Source/MultiPlayerServer/Host.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Text;
1212
using System.Threading.Tasks;
1313

14-
namespace Orts.MultiPlayerServer
14+
namespace MultiPlayerServer
1515
{
1616
//whoever connects first, will become dispatcher(server) by sending a "SERVER YOU" message
1717
//if a clients sends a "SERVER MakeMeServer", this client should be appointed new server

Source/MultiPlayerServer/MultiPlayerServer.csproj

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net5-windows</TargetFramework>
3+
<TargetFramework Condition="'$(BuildDotNet)' == 'true'">net6-windows</TargetFramework>
4+
<TargetFramework Condition="'$(TargetFramework)' == ''">net5-windows</TargetFramework>
45
<OutputType>Exe</OutputType>
5-
<Description>Open Rails Multiplayer Server</Description>
6-
<AssemblyTitle>Open Rails MultiPlayer Server (Forked)</AssemblyTitle>
7-
<Product>Open Rails</Product>
8-
<OutputPath>..\..\Program</OutputPath>
96
<ApplicationIcon>..\ORTS.ico</ApplicationIcon>
10-
<RootNamespace>Orts.MultiPlayerServer</RootNamespace>
7+
<IsPublishable>False</IsPublishable>
8+
<AssemblyTitle>Open Rails MultiPlayer Server</AssemblyTitle>
9+
<Description>Open Rails Transport Simulator</Description>
10+
<Company>Open Rails</Company>
11+
<Product>Open Rails</Product>
12+
<Copyright>Copyright © 2009 - 2022</Copyright>
13+
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
14+
</PropertyGroup>
15+
<PropertyGroup>
16+
<ApplicationManifest>..\Launcher\app.manifest</ApplicationManifest>
1117
</PropertyGroup>
1218
<ItemGroup>
1319
<PackageReference Include="System.IO.Pipelines" Version="5.0.0.0" />

Source/MultiPlayerServer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using System.Threading.Tasks;
66

7-
namespace Orts.MultiPlayerServer
7+
namespace MultiPlayerServer
88
{
99
internal class Program
1010
{

0 commit comments

Comments
 (0)