Align client and solution with renamed projects

Update project references and solution entries to use
`PipeClient` and `PipeServer`, and launch the renamed
`PipeServer.exe` or `PipeServer.dll`.
This commit is contained in:
Matthias Heil
2026-11-10 10:57:10 +01:00
parent f00e3298b1
commit ae723b9bea
9 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj" /> <ProjectReference Include="..\PipeShared\PipeShared.csproj" />
<ProjectReference Include="..\Server\Server.csproj" /> <ProjectReference Include="..\PipeServer\PipeServer.csproj" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
+3 -3
View File
@@ -1,4 +1,4 @@
using ClientServerShared; using PipeShared;
using PipeMethodCalls; using PipeMethodCalls;
using System.Diagnostics; using System.Diagnostics;
using System.Xml.Linq; using System.Xml.Linq;
@@ -163,7 +163,7 @@ async Task StartServerAndConnectAsync(string pipeName)
static Process StartServer(string pipeName) static Process StartServer(string pipeName)
{ {
string baseDir = AppContext.BaseDirectory; string baseDir = AppContext.BaseDirectory;
string serverExe = Path.Combine(baseDir, OperatingSystem.IsWindows() ? "Server.exe" : "Server"); string serverExe = Path.Combine(baseDir, OperatingSystem.IsWindows() ? "PipeServer.exe" : "PipeServer");
ProcessStartInfo startInfo; ProcessStartInfo startInfo;
if (File.Exists(serverExe)) if (File.Exists(serverExe))
{ {
@@ -172,7 +172,7 @@ static Process StartServer(string pipeName)
else else
{ {
startInfo = new ProcessStartInfo("dotnet"); startInfo = new ProcessStartInfo("dotnet");
startInfo.ArgumentList.Add(Path.Combine(baseDir, "Server.dll")); startInfo.ArgumentList.Add(Path.Combine(baseDir, "PipeServer.dll"));
} }
startInfo.ArgumentList.Add($"{PipeConstants.PipeNameArgPrefix}{pipeName}"); startInfo.ArgumentList.Add($"{PipeConstants.PipeNameArgPrefix}{pipeName}");
startInfo.UseShellExecute = false; startInfo.UseShellExecute = false;
+3 -3
View File
@@ -1,5 +1,5 @@
<Solution> <Solution>
<Project Path="Client/Client.csproj" /> <Project Path="PipeClient/PipeClient.csproj" />
<Project Path="Server/Server.csproj" /> <Project Path="PipeServer/PipeServer.csproj" />
<Project Path="Shared/Shared.csproj" /> <Project Path="PipeShared/PipeShared.csproj" />
</Solution> </Solution>
+2 -2
View File
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj" /> <ProjectReference Include="..\PipeShared\PipeShared.csproj" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
+1 -1
View File
@@ -1,4 +1,4 @@
using ClientServerShared; using PipeShared;
using PipeMethodCalls; using PipeMethodCalls;
using Server; using Server;
+1 -1
View File
@@ -1,4 +1,4 @@
using ClientServerShared; using PipeShared;
using System.Collections.Concurrent; using System.Collections.Concurrent;
using System.Numerics; using System.Numerics;
@@ -1,6 +1,6 @@
using System.Numerics; using System.Numerics;
namespace ClientServerShared; namespace PipeShared;
public interface IServerMethods public interface IServerMethods
{ {
@@ -1,7 +1,7 @@
using PipeMethodCalls; using PipeMethodCalls;
using System.Text.Json; using System.Text.Json;
namespace ClientServerShared; namespace PipeShared;
/// <summary> /// <summary>
/// JSON serializer that also includes public fields (required for System.Numerics.Vector3). /// JSON serializer that also includes public fields (required for System.Numerics.Vector3).