Geekeey.Arcade.NET.Sdk.Test (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.TestAbout this package
MSBuild SDK for test projects with standardized build, analyzer, and editor configuration defaults.
Geekeey.Arcade.NET.Sdk.Test
Opinionated MSBuild SDK for test projects with standardized build, analyzer, and editor configuration defaults.
Getting started
<Project Sdk="Geekeey.Arcade.NET.Sdk.Test/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.SdkSDK. - Marks consuming projects as test projects by setting
IsTestProject=trueautomatically. Microsoft.Testing.Platform.MSBuildintegration out of the box.- Opinionated
.editorconfigsettings for test 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.