Geekeey.Arcade.NET.Sdk.Razor (0.1.0)
Installation
dotnet nuget add source --name geekeey --username your_username --password your_token dotnet add package --source geekeey --version 0.1.0 Geekeey.Arcade.NET.Sdk.RazorAbout this package
MSBuild SDK for Razor class library and Blazor projects with standardized build, analyzer, and editor configuration defaults.
Geekeey.Arcade.NET.Sdk.Razor
Opinionated MSBuild SDK for Razor class library and Blazor projects with standardized build, analyzer, and editor configuration defaults.
Getting started
<Project Sdk="Geekeey.Arcade.NET.Sdk.Razor/1.0.0">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
</Project>
What it provides
- Everything from the base
Geekeey.Arcade.NET.Sdk(language, analyzer, editor, and packaging defaults), layered on top of theMicrosoft.NET.Sdk.RazorSDK. - Opinionated
.editorconfigsettings for Razor projects, applied automatically viaEditorConfigFiles(including file-based programs whenFileBasedProgram=true).
Opt-outs
| Property | Effect |
|---|---|
EnableDefaultJsonSerializationOptions=false |
Skips the System.Text.Json nullable annotation defaults. |
IncludeDefaultBannedSymbols=false |
Skips the built-in BannedSymbols.txt. |
BannedNewtonsoftJsonSymbols=false |
Skips the built-in BannedSymbols.NewtonsoftJson.txt. |
SearchReadmeFileAbove=true |
Also searches parent directories for a PACKAGE.md to pack. |
See the repository for the full configuration.