test: 添加测试项目并更新解决方案配置

This commit is contained in:
2025-01-28 22:57:54 +08:00
parent 3e231fcc8c
commit b450b4cc84
4 changed files with 37 additions and 0 deletions

12
Test/Program.cs Normal file
View File

@@ -0,0 +1,12 @@
using PortProxyTool;
namespace Test;
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
var t = PortProxy.GetPortProxies();
}
}

15
Test/Test.csproj Normal file
View File

@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<LangVersion>latestmajor</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\PortProxyTool\PortProxyTool.csproj"/>
</ItemGroup>
</Project>