From 3e2b0049d3b779d456830a399297f9ff262489ae Mon Sep 17 00:00:00 2001 From: iomatix Date: Wed, 23 Jul 2025 23:28:57 +0200 Subject: [PATCH] Add SDK-style .csproj template for LabAPI plugin development targeting .NET Framework 4.8 Provides a clean, NuGet-ready SDK-style .csproj template for SCP:SL plugin developers using LabAPI and Unity assemblies. Key features: - Targets .NET Framework 4.8, matching LabAPI requirements - Uses manual Unity DLL references to resolve mscorlib compatibility - Disables implicit framework references to avoid CS7069 errors - Supports NuGet packaging via Microsoft.NET.Sdk - Includes audio module and core Unity engine references Helps new developers avoid common build issues and sets up a smooth foundation for plugin creation. --- LabApi.Examples/SDK_template_.csproj | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 LabApi.Examples/SDK_template_.csproj diff --git a/LabApi.Examples/SDK_template_.csproj b/LabApi.Examples/SDK_template_.csproj new file mode 100644 index 00000000..a9c9da8a --- /dev/null +++ b/LabApi.Examples/SDK_template_.csproj @@ -0,0 +1,60 @@ + + + + net48 + Library + YourPluginName + YourPluginNamespace + + + true + + + true + YourName + YourPluginID + 1.0.0 + Your SCP:SL plugin description + + + + + C:\Program Files (x86)\Steam\steamapps\common\SCP Secret Laboratory Dedicated Server\SCPSL_Data\Managed + + + + + + $(UNITY_REFERENCES)\mscorlib.dll + + + $(UNITY_REFERENCES)\System.dll + + + $(UNITY_REFERENCES)\System.Core.dll + + + $(UNITY_REFERENCES)\netstandard.dll + + + + + $(UNITY_REFERENCES)\Assembly-CSharp.dll + + + $(UNITY_REFERENCES)\Assembly-CSharp-firstpass.dll + + + $(UNITY_REFERENCES)\UnityEngine.CoreModule.dll + + + $(UNITY_REFERENCES)\UnityEngine.AudioModule.dll + + + + + + + + +