The idea behind Kysect.SolutionDefaults is to provide a set of default settings for new projects and up-to-date them using NuGet packages. NuGet maintainers can update the settings and the users will get the updates when they update the package.
List of settings that can be provided by Kysect.SolutionDefaults:
- .editorconfig
- Default icon of Kysect projects
- Kysect.SolutionDefaults.props file with default settings for new projects
Package provide a set of MSBuild properties that can be used to configure the behavior of the package:
SolutionDefaultsUseMetadataOptions- if set totruethe package will use Kysect metadata options for the project (author, company, copyright)SolutionDefaultsUseLicense- if set totruethe package will use MIT license for the projectSolutionDefaultsUseAnalyzersOptions- if set totruethe package will enable Roslyn analyzers for the project (enable NRT, Roslyn analyzers and treat warnings as errors)SolutionDefaultsUseBuildOptions- if set totruethe package will use Kysect build options for the project (latest language version, artifacts output, implicitusingdirectives)SolutionDefaultsUsePublishOptions- if set totruethe package will use Kysect publish options for the project (RepositoryType, deterministic build,.snupkgsymbols)SolutionDefaultsCopyEditorConfig- if set totruethe package will copy.editorconfigfile to the solution directorySolutionDefaultsUseIcon- if set totruethe package will use Kysect icon for the project