Restructure template, add configurable description, remove comments
- Remove LoadPriority override from EntryPoint.cs (defaults to Medium) - Add Description property (was already templated as a literal, now a configurable PluginDescription symbol like PluginAuthor) - Move the buildable project into content/ so CLAUDE.md, .editorconfig, and .gitignore never ship in a generated plugin, and the project no longer shares its root with them - Remove the SkipGit symbol and its manual-instructions postAction: automatic git init on generation was re-verified impossible (no --allow-scripts equivalent on dotnet 10 SDK to bypass the Run Script postAction's interactive Y/N gate); VS's own New Project checkbox already covers this - Add content/CLAUDE.md so every generated plugin ships with LabAPI/ toolchain/code-style context for Claude Code, since no C#/.NET/LabAPI Skill exists in the catalog - Set PluginAuthor/PluginDescription defaultValue to generic "Your Name"/"Your Description" placeholders instead of "YourName"/a TODO string - Strip all comments from the .csproj (project code style forbids them) Verified by generating a project from the reinstalled template and running dotnet build (0 warnings, 0 errors) after each change.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<LangVersion>14.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<RootNamespace>LabApiPluginTemplate</RootNamespace>
|
||||
<AssemblyName>LabApiPluginTemplate</AssemblyName>
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<NoWarn>$(NoWarn);NU1701</NoWarn>
|
||||
<ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Northwood.LabAPI" Version="*">
|
||||
<NoWarn>NU1701</NoWarn>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user