test: 添加测试项目并更新解决方案配置
This commit is contained in:
12
Test/Program.cs
Normal file
12
Test/Program.cs
Normal 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
15
Test/Test.csproj
Normal 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>
|
Reference in New Issue
Block a user