vm2.Abstractions
1.0.0-preview.3
dotnet add package vm2.Abstractions --version 1.0.0-preview.3
NuGet\Install-Package vm2.Abstractions -Version 1.0.0-preview.3
<PackageReference Include="vm2.Abstractions" Version="1.0.0-preview.3" />
<PackageVersion Include="vm2.Abstractions" Version="1.0.0-preview.3" />
<PackageReference Include="vm2.Abstractions" />
paket add vm2.Abstractions --version 1.0.0-preview.3
#r "nuget: vm2.Abstractions, 1.0.0-preview.3"
#:package vm2.Abstractions@1.0.0-preview.3
#addin nuget:?package=vm2.Abstractions&version=1.0.0-preview.3&prerelease
#tool nuget:?package=vm2.Abstractions&version=1.0.0-preview.3&prerelease
vm2.Abstractions
A starter vm2 package scaffold. Customize the code, tests, benchmarks, docs, and workflows as needed.
Getting started
Build:
dotnet restore dotnet buildTest:
from CLI, if it is not built yet (builds on MTP v2):
dotnet run --project tests/Abstractions.Tests/Abstractions.Tests.csprojfrom CLI, if it is already built in CLI or VSCode (MTP v2):
any OS or shell:
dotnet test tests/Abstractions.Tests/bin/Debug/net10.0/Abstractions.Tests.dllon Windows CLI (already built in CLI or VSCode - on MTP v2):
tests/Abstractions.Tests/bin/Debug/net10.0/Abstractions.Tests.exeon Linux or MacOS CLI (already built in CLI or VSCode - on MTP v2):
tests/Abstractions.Tests/bin/Debug/net10.0/Abstractions.Tests
from Visual Studio:
use the Test Explorer to build and run tests (builds on MTP v1)
if it is already built in Visual Studio (MTP v1), from the CLI you can run:
dotnet test
Benchmarks (if included):
dotnet run --project benchmarks/Abstractions.Benchmarks/Abstractions.Benchmarks.csproj --configuration ReleaseIn a personal development environment, you can run benchmarks with defined
SHORT_RUNpreprocessor directive. The run will be faster, although less accurate, but still suitable for quick iterations.
Package metadata
- Package ID:
vm2.Abstractions - Version: 0.0.0
- License: MIT
- Repository: https://github.com/vmelamed/vm2.Abstractions
Structure
- .github/workflows: CI, prerelease, release, clear-cache.
- src/Abstractions: the library source code
- tests/Abstractions.Tests: xUnit + MTP tests, includes testconfig.json
- benchmarks/Abstractions.Benchmarks: BenchmarkDotNet suite (optional)
- examples/Abstractions.Example: minimal console sample (optional)
- docs/: documentation starter (optional)
- scripts/: bootstrap helpers
- changelog/: git-cliff configs for prerelease/release changelog updates
Next steps
create GitHub repository using the generated bootstrap script:
scripts/repo-setup.shUpdate README, CHANGELOG, and package metadata.
Set secrets and variables for workflows:
- Set required secrets in the new GitHub repo:
CODECOV_TOKENBENCHER_API_TOKENNUGET_API_KEYmust be issued by the selectedNUGET_SERVER(below)
- Set required variables:
DOTNET_VERSION:10.0.x: the .NET SDK version to useCONFIGURATION:Release: the build configuration to use (e.g., Release or Debug)NUGET_SERVER:github: the NuGet server to publish to (supported values: 'github', 'nuget', or custom URI)MINVERTAGPREFIX:v: Prefix for git tags to be recognized by MinVerMINVERDEFAULTPRERELEASEIDENTIFIERS:preview.0: Prefix for the prerelease tag, e.g. 'preview.0', 'alpha', 'beta', 'rc', etc.SAVE_PACKAGE_ARTIFACTS:false: Whether to save package artifacts after build/publishMIN_COVERAGE_PCT:80%: Minimum code coverage percentage requiredMAX_REGRESSION_PCT:20%: Maximum allowed regression percentageRESET_BENCHMARK_THRESHOLDS:false: Whether to reset Bencher thresholds
- Set debug flags (variables):
ACTIONS_RUNNER_DEBUG:false: Whether to enable GitHub Actions runner debug loggingACTIONS_STEP_DEBUG:false: Whether to enable GitHub Actions step debug logging
- Set required secrets in the new GitHub repo:
Protect the
mainbranch by enabling required checks and requiring pull requests. Suggested check names:build(job id from CI workflow "CI: Build, Test, Benchmark")test(job id from CI workflow "CI: Build, Test, Benchmark")benchmark(job id from CI workflow "CI: Build, Test, Benchmark")
In GitHub repo settings, enable Actions PR automation:
Settings→Actions→General→Workflow permissions- enable
Allow GitHub Actions to create and approve pull requests - required for prerelease changelog PR creation.
Changelog: prerelease workflow appends a prerelease section; release workflow adds a stable header with "See prereleases below." (prerelease sections stay intact).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.3 | 68 | 6/11/2026 |
| 1.0.0-preview.2 | 63 | 6/11/2026 |
| 1.0.0-preview.1 | 62 | 5/21/2026 |
Pre-release: PR approved, tagged with pre-release tag.