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

View File

@@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Folder", "Solution
Readme.MD = Readme.MD
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{E2397AF1-B004-4660-A855-348204173ED3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -30,5 +32,9 @@ Global
{4533A7DA-7AB8-48FE-9BA0-8C4BD568AB4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4533A7DA-7AB8-48FE-9BA0-8C4BD568AB4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4533A7DA-7AB8-48FE-9BA0-8C4BD568AB4E}.Release|Any CPU.Build.0 = Release|Any CPU
{E2397AF1-B004-4660-A855-348204173ED3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E2397AF1-B004-4660-A855-348204173ED3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E2397AF1-B004-4660-A855-348204173ED3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E2397AF1-B004-4660-A855-348204173ED3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANumber_002Ecs_002Fl_003AC_0021_003FUsers_003FJack_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FDecompilerCache_003Fdecompiler_003Fe3157c720a4245958cf8a1b12c4b4a27e90928_003Fd9_003F56dcb09d_003FNumber_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003ANumber_002EParsing_002Ecs_002Fl_003AC_0021_003FUsers_003FJack_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003Fde8a243f75215d958afa80cf80a41b4981a44efea7db93bffcdaf7bd6ba378c0_003FNumber_002EParsing_002Ecs/@EntryIndexedValue">ForceIncluded</s:String>
<s:String x:Key="/Default/CodeInspection/ExcludedFiles/FilesAndFoldersToSkip2/=7020124F_002D9FFC_002D4AC3_002D8F3D_002DAAB8E0240759_002Ff_003AThrowHelper_002Ecs_002Fl_003AC_0021_003FUsers_003FJack_003FAppData_003FRoaming_003FJetBrains_003FRider2024_002E3_003Fresharper_002Dhost_003FSourcesCache_003Fc7102cd0ffb8973777e61b1942c3fffac7e14016a511d055c3adf73ff91748_003FThrowHelper_002Ecs/@EntryIndexedValue">ForceIncluded</s:String></wpf:ResourceDictionary>

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>