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>
<ProjectReference Include="..\Shared\Shared.csproj" />
<ProjectReference Include="..\Server\Server.csproj" />
<ProjectReference Include="..\PipeShared\PipeShared.csproj" />
<ProjectReference Include="..\PipeServer\PipeServer.csproj" />
</ItemGroup>
<PropertyGroup>
+3 -3
View File
@@ -1,4 +1,4 @@
using ClientServerShared;
using PipeShared;
using PipeMethodCalls;
using System.Diagnostics;
using System.Xml.Linq;
@@ -163,7 +163,7 @@ async Task StartServerAndConnectAsync(string pipeName)
static Process StartServer(string pipeName)
{
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;
if (File.Exists(serverExe))
{
@@ -172,7 +172,7 @@ static Process StartServer(string pipeName)
else
{
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.UseShellExecute = false;