- 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.
11 lines
209 B
C#
11 lines
209 B
C#
using System.ComponentModel;
|
|
|
|
namespace LabApiPluginTemplate
|
|
{
|
|
public class Config
|
|
{
|
|
[Description("Whether the plugin is enabled.")]
|
|
public bool IsEnabled { get; set; } = true;
|
|
}
|
|
}
|