From e90cbb97da1663601037b68fbdc23b65af4ee7a5 Mon Sep 17 00:00:00 2001 From: SongWJ Date: Sat, 11 May 2024 16:19:08 +0800 Subject: [PATCH] init --- .gitignore | 8 ++++++ STranslateDLL.sln | 25 +++++++++++++++++++ STranslateDLL/LocalMode.cs | 9 +++++++ .../PublishProfiles/FolderProfile.pubxml | 18 +++++++++++++ STranslateDLL/STranslateDLL.csproj | 14 +++++++++++ 5 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 STranslateDLL.sln create mode 100644 STranslateDLL/LocalMode.cs create mode 100644 STranslateDLL/Properties/PublishProfiles/FolderProfile.pubxml create mode 100644 STranslateDLL/STranslateDLL.csproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8eb39dd --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.vs/ +.idea/ + +bin/ +obj/ + +*.user + diff --git a/STranslateDLL.sln b/STranslateDLL.sln new file mode 100644 index 0000000..6e8df0b --- /dev/null +++ b/STranslateDLL.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STranslateDLL", "STranslateDLL\STranslateDLL.csproj", "{6D9BB175-EF05-485B-9CE1-CBFADDB2DC0C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6D9BB175-EF05-485B-9CE1-CBFADDB2DC0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D9BB175-EF05-485B-9CE1-CBFADDB2DC0C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D9BB175-EF05-485B-9CE1-CBFADDB2DC0C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D9BB175-EF05-485B-9CE1-CBFADDB2DC0C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BF77AE8D-28CF-4C94-A0E5-E371B567BD9F} + EndGlobalSection +EndGlobal diff --git a/STranslateDLL/LocalMode.cs b/STranslateDLL/LocalMode.cs new file mode 100644 index 0000000..b2127f4 --- /dev/null +++ b/STranslateDLL/LocalMode.cs @@ -0,0 +1,9 @@ +namespace STranslateDLL; + +public class LocalMode +{ + public async Task ExecuteAsync() + { + await Task.Delay(3000); + } +} \ No newline at end of file diff --git a/STranslateDLL/Properties/PublishProfiles/FolderProfile.pubxml b/STranslateDLL/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..d37ba18 --- /dev/null +++ b/STranslateDLL/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,18 @@ + + + + + Release + Any CPU + bin\Release\net8.0\publish\win-x64\ + FileSystem + <_TargetId>Folder + net8.0 + win-x64 + false + false + false + + \ No newline at end of file diff --git a/STranslateDLL/STranslateDLL.csproj b/STranslateDLL/STranslateDLL.csproj new file mode 100644 index 0000000..94b8e59 --- /dev/null +++ b/STranslateDLL/STranslateDLL.csproj @@ -0,0 +1,14 @@ + + + + net8.0 + enable + enable + true + + + + none + + +