Test projects are working.
This commit is contained in:
7
TestServer/Program.cs
Normal file
7
TestServer/Program.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
var pipeServer = new NamedPipes.NamedPipesServer("testPipe",Console.WriteLine);
|
||||
pipeServer.WaitForConnectionAsync().GetAwaiter().GetResult();
|
||||
while (pipeServer.IsConnected) Thread.Sleep(100);
|
||||
|
||||
12
TestServer/TestServer.csproj
Normal file
12
TestServer/TestServer.csproj
Normal file
@@ -0,0 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\NamedPipes\NamedPipes.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user