Common input and integrity validation routines for Visual Studio and other applications
Перейти к файлу
Andrew Arnott 33e19c8934
Improve pipeline verbosity
2022-04-12 08:29:59 -06:00
.devcontainer Update devcontainer Dockerfile to match global.json 2022-04-11 13:46:40 -06:00
.github Merge branch 'main' into microbuild 2022-03-09 17:14:43 -07:00
.vscode Touch-ups 2021-11-18 21:43:01 -07:00
azure-pipelines Improve pipeline verbosity 2022-04-12 08:29:59 -06:00
src Merge branch 'main' into microbuild 2021-12-03 06:49:49 -07:00
test Merge branch 'main' into microbuild 2022-03-09 17:14:43 -07:00
tools Merge pull request #147 from AArnott/fixSdkInstallScript 2022-03-30 10:11:12 -06:00
.editorconfig Remove CA1508, which has too many false positives 2021-11-22 15:49:58 -07:00
.gitattributes Checkout ps1 with LF endings 2020-09-25 12:26:36 -06:00
.gitignore Ignore launchSettings.json 2022-03-30 18:13:34 -06:00
Apply-Template.ps1 Patch AssemblyInfo.cs 2021-12-03 08:06:54 -07:00
CODE_OF_CONDUCT.md Add stock MSFT starter files 2020-12-01 14:53:50 -07:00
CONTRIBUTING.md Beef up contrib doc explanation of init.ps1 2020-08-23 12:58:47 -06:00
Directory.Build.props Merge branch 'main' into microbuild 2022-04-12 06:18:53 -06:00
Directory.Build.rsp Add Directory.Build.rsp file 2020-03-03 09:50:03 -07:00
Directory.Build.targets Get WPF inner-builds to import NuGet packages' imports 2020-08-10 09:13:44 -06:00
Expand-Template.cmd Add Expand-Template.cmd stub 2019-11-14 21:57:40 -07:00
Expand-Template.ps1 Build SBOM manifest as part of build 2022-01-13 12:17:50 -07:00
LICENSE Fix template expansion 2020-10-25 21:23:44 -06:00
Library.sln Add README as solution item 2020-05-11 09:40:59 -06:00
README.md Merge branch 'main' into microbuild 2021-02-04 17:35:22 -07:00
SECURITY.md Add stock MSFT starter files 2020-12-01 14:53:50 -07:00
SUPPORT.md Clean up trailing line endings 2021-01-15 12:19:50 -07:00
azure-pipelines.yml Simplify release and CI package push 2022-03-31 10:15:07 -06:00
global.json Update .NET SDK to 6.0.200 2022-03-08 09:02:53 -07:00
init.cmd Fix up init.cmd to set env vars from .ps1 child process 2020-08-19 12:13:49 -06:00
init.ps1 Update MicroBuild version 2022-02-02 21:50:53 -07:00
nuget.config Merge branch 'main' into microbuild 2021-10-08 18:13:28 -06:00
stylecop.json Fix template expansion 2020-10-25 21:23:44 -06:00
version.json Disable default, redundant NB.GV behavior 2021-11-02 06:13:29 -06:00

README.md

Your Library

An awesome template for your awesome library

NuGet package

Azure Pipelines status GitHub Actions status codecov

Features

  • Follow the best and simplest patterns of build, pack and test with dotnet CLI.
  • Init script that installs prerequisites and auth helpers, supporting both non-elevation and elevation modes.
  • Static analyzers: FxCop and StyleCop
  • Read-only source tree (builds to top-level bin/obj folders)
  • Auto-versioning (via Nerdbank.GitVersioning)
  • Builds with a "pinned" .NET Core SDK to ensure reproducible builds across machines and across time.
  • Automatically pack the library and publish it as an artifact, and even push it to some NuGet feed for consumption.
  • Testing
    • Testing on .NET Framework, multiple .NET Core versions
    • Testing on Windows, Linux and OSX
    • Tests that crash or hang in Azure Pipelines automatically collect dumps and publish as a pipeline artifact for later investigation.
  • Cloud build support
    • YAML based build for long-term serviceability, and PR review opportunities for any changes.
    • Azure Pipelines and GitHub Action support
    • Emphasis on PowerShell scripts over reliance on tasks for a more locally reproducible build.
    • Code coverage published to Azure Pipelines
    • Code coverage published to codecov.io so GitHub PRs get code coverage results added as a PR comment
  • MicroBuild ready
    • MicroBuild signing built-in, with several more MicroBuild plugins' use streamlined for local installation via a switch passed to init.ps1.
    • Insertions to VS streamlined and automated with all inputs computed during the build and saved for the release pipeline.

Consumption

Once you've expanded this template for your own use, you should run the Expand-Template.ps1 script to customize the template for your own project.

Further customize your repo by:

  1. Verify the license is suitable for your goal as it appears in the LICENSE and stylecop.json files and the Directory.Build.props file's PackageLicenseExpression property.
  2. Reset or replace the badges at the top of this file.