ModSharp.Module.Template
1.0.3
dotnet new install ModSharp.Module.Template::1.0.3
This package contains a .NET Template Package you can call from the shell/command line.
ModSharp Module Template
A .NET template for creating ModSharp modules.
Installation
Install the template globally:
dotnet new install ModSharp.Module.Template
Or install from NuGet
Usage
Create a new ModSharp module:
dotnet new modsharp-module -n MyModule --DisplayName "My Module" --DisplayAuthor "Your Name"
Parameters
-n|--name: The name of the module (required)--DisplayName: The display name shown in the module (default: "Project")--DisplayAuthor: The author name shown in the module (default: "Author")
Generated Structure
The template creates:
ModuleName.cs- Main module class implementingIModSharpModuleModuleName.csproj- Project file targeting .NET 10.0
Example
dotnet new modsharp-module -n MyAwesomeModule --DisplayName "My Awesome Module" --DisplayAuthor "John Doe"
cd MyAwesomeModule
dotnet build
Requirements
- .NET 10.0 SDK
- Sharp.Shared package (referenced automatically)
License
This template is provided as-is for creating ModSharp modules.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.