Add NuGet template pack project

This commit is contained in:
2026-08-27 22:30:56 +02:00
parent 0d8cf27b99
commit f099868e45
+25
View File
@@ -0,0 +1,25 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageType>Template</PackageType>
<PackageId>SCPSL.LabApi.PluginTemplate</PackageId>
<Version>1.0.0</Version>
<Title>SCP: Secret Laboratory LabAPI Plugin Template</Title>
<Description>dotnet new template that scaffolds an SCP: Secret Laboratory LabAPI plugin: a .slnx solution with AGENTS.md/CLAUDE.md at its root and a netstandard2.1 plugin project in its own subfolder.</Description>
<PackageTags>dotnet-new;templates;scpsl;labapi</PackageTags>
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeBuildOutput>false</IncludeBuildOutput>
<IncludeContentInPack>true</IncludeContentInPack>
<ContentTargetFolders>content</ContentTargetFolders>
<NoDefaultExcludes>true</NoDefaultExcludes>
<EnableDefaultItems>false</EnableDefaultItems>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<PackageOutputPath>./nupkg</PackageOutputPath>
</PropertyGroup>
<ItemGroup>
<Content Include=".template.config/**/*" Exclude=".template.config/**/bin/**;.template.config/**/obj/**" />
<Content Include="content/**/*" Exclude="content/**/bin/**;content/**/obj/**" />
</ItemGroup>
</Project>