diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77db9ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +# ignore output directories. +bin/ +obj/ + +# ignore experimental directories. +woto_files/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d0a5b8a --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + "version": "0.2.0", + "configurations": [ + { + // Use IntelliSense to find out which attributes exist for C# debugging + // Use hover for the description of the existing attributes + // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md + "name": ".NET Core Launch (console)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + // If you have changed target frameworks, make sure to update the program path. + "program": "${workspaceFolder}/Tests/bin/Debug/net5.0/ClientTest.dll", + "args": [], + "cwd": "${workspaceFolder}/Tests", + // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console + "console": "internalConsole", + "stopAtEntry": false + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..05d6d04 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/Tests/Tests.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/Tests/Tests.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "${workspaceFolder}/Tests/Tests.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/SocialVoid.png b/SocialVoid.png new file mode 100644 index 0000000..7bfa7cd Binary files /dev/null and b/SocialVoid.png differ diff --git a/SocialVoid.sln b/SocialVoid.sln new file mode 100644 index 0000000..11814ff --- /dev/null +++ b/SocialVoid.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocialVoid", "SocialVoid\SocialVoid.csproj", "{6CB5C21A-EB16-48D6-B98A-F18D7CE46785}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBD}") = "Tests", "Tests\Tests.csproj", "{2EFF7FAB-7794-4BFA-AB48-998ADADC45A9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6CB5C21A-EB16-48D6-B98A-F18D7CE46785}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6CB5C21A-EB16-48D6-B98A-F18D7CE46785}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6CB5C21A-EB16-48D6-B98A-F18D7CE46785}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6CB5C21A-EB16-48D6-B98A-F18D7CE46785}.Release|Any CPU.Build.0 = Release|Any CPU + {2EFF7FAB-7794-4BFA-AB48-998ADADC45A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2EFF7FAB-7794-4BFA-AB48-998ADADC45A9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2EFF7FAB-7794-4BFA-AB48-998ADADC45A9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2EFF7FAB-7794-4BFA-AB48-998ADADC45A9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/SocialVoid/Errors/ErrorCodes.cs b/SocialVoid/Errors/ErrorCodes.cs new file mode 100644 index 0000000..e4a26ea --- /dev/null +++ b/SocialVoid/Errors/ErrorCodes.cs @@ -0,0 +1,7 @@ +namespace SocialVoid.Errors +{ + public enum ErrorCodes + { + + } +} \ No newline at end of file diff --git a/SocialVoid/Errors/GeneralException.cs b/SocialVoid/Errors/GeneralException.cs new file mode 100644 index 0000000..43461f5 --- /dev/null +++ b/SocialVoid/Errors/GeneralException.cs @@ -0,0 +1,12 @@ +using System; + +namespace SocialVoid.Errors { + public class GeneralException : Exception + { + + public GeneralException(string message) : base(message) + { + + } + } +} \ No newline at end of file diff --git a/SocialVoid/Icon.ico b/SocialVoid/Icon.ico new file mode 100644 index 0000000..2d4d72b Binary files /dev/null and b/SocialVoid/Icon.ico differ diff --git a/SocialVoid/Icon.png b/SocialVoid/Icon.png new file mode 100644 index 0000000..7bfa7cd Binary files /dev/null and b/SocialVoid/Icon.png differ diff --git a/SocialVoid/SocialVoid.csproj b/SocialVoid/SocialVoid.csproj new file mode 100644 index 0000000..bb1e88b --- /dev/null +++ b/SocialVoid/SocialVoid.csproj @@ -0,0 +1,153 @@ + + + + + linux-x64 + win-x64 + SocialVoid + SocialVoid + The official Socialvoid RPC Library written for C# + en-US + net5.0;net461;netstandard2.0;netstandard2.1;uap10.0;monoandroid9.0;xamarin.ios10 + net5.0 + SovialVoid + 0.0.1 + SocialVoid Team + https://github.com/intellivoid/Socialvoid.NET + https://github.com/intellivoid/Socialvoid.NET + https://github.com/intellivoid/Socialvoid.NET/raw/master/GUISharp/Icon.ico + Icon.png + git + true + true + true + true + LICENSE + + + + 1591;1701;1702;1705 + + + + + $(DefineConstants);__LINUX__ + $(DefineConstants);__WINDOWS__ + $(DefineConstants);__UAP__ + $(DefineConstants);__ANDROID__ + $(DefineConstants);__IOS__ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/Program.cs b/Tests/Program.cs new file mode 100644 index 0000000..8665bba --- /dev/null +++ b/Tests/Program.cs @@ -0,0 +1,11 @@ + +namespace Tests +{ + public class Program + { + public static void Main(string[] args) + { + //SocialVoid.TestClass.Something(); + } + } +} \ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj new file mode 100644 index 0000000..88fb011 --- /dev/null +++ b/Tests/Tests.csproj @@ -0,0 +1,74 @@ + + + + + WinExe + net5.0 + true + true + linux-x64 + win-x64 + true + true + ClientTest + ClientTest + en-US + + + + + + + __LINUX__ + __WINDOWS__ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file