This commit is contained in:
sin365 2024-01-22 11:58:24 +08:00
parent d2c2334ac8
commit 06dc7559ba
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\NoSugarNet.ClientCore\NoSugarNet.ClientCore.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,12 @@
using NoSugarNet.ClientCore;
namespace NoSugarNet.ClientCli
{
internal class Program
{
static void Main(string[] args)
{
AppNoSugarNet.Init("127.0.0.1", 1000);
}
}
}

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\NoSugarNet.ServerCore\NoSugarNet.ServerCore.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,16 @@
using ServerCore.Manager;
namespace NoSugarNet.ServerCli
{
internal class Program
{
static void Main(string[] args)
{
ServerManager.InitServer(1000);
while (true)
{
Console.ReadLine();
}
}
}
}