This repository provides a template for C# package.
- Rename sln file name, and replace
dotnet.defaultSolution
in the .vscode/settings.json. - Remove example package project and test project.
Format source code.
dotnet format
Execute test code.
dotnet test
Use dotnet diagnostic tools.
dotnet trace collect --format Chromium -- <Binary Path>
Open xxx.chromium.json using Chromium.
- Open URL chome://tracing or edge://tracing.
- Load xxx.chromium.json.
Use dotnet diagnostic tools.
dotnet counters collect -- <Binary Path>
Use BenchmarkDotNet and run benchmark application.
dotnet run -c Release --project <Benchmark Project Path>
Check newer depenency packages.
dotnet list package --outdated
TODO
Generate API document.
docfx doc/docfx.json
Build packages.
dotnet pack -o ./artifacts