协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
nuget-package-manager【开发与工程】Inspect and update NuGet package families using ManagedCode NuGetPackageManager, the nuget-manager CLI, or its VS Code extension. USE FOR: checking outdated packages; dry-run family reviews; applying reviewed literal package and explicit project SDK version updates. DO NOT USE FOR: adding/removing packages; dependency graph resolution; authenticated …
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
nuget-manager.Microsoft.Orleans, across projects and Central Package Management files.dotnet tool install --global nuget-manager
nuget-manager --help
For an existing installation, use dotnet tool update --global nuget-manager. This is a global tool, not an application PackageReference. The upstream repository publishes both the tool and a VS Code extension. Install the extension from the Marketplace or a released VSIX.
Run a read-only family check, then preview exact proposed edits:
nuget-manager check --path . --family Microsoft.Orleans --policy minor --json
nuget-manager update --path . --family Microsoft.Orleans --policy minor --dry-run --json
Microsoft.Orleans selects the exact ID and dot-boundary descendants, never Microsoft.OrleansExtra. Each package keeps its own available target version; selecting a family does not force a shared version or establish compatibility. Inspect every target version and owning file, including central declarations consumed by multiple projects.
After reviewing the preview, apply the same selection:
nuget-manager update --path . --family Microsoft.Orleans --policy minor --yes
git diff -- '*.csproj' '*.fsproj' '*.vbproj' 'Directory.Packages.props'
dotnet restore
dotnet build --no-restore
dotnet test --no-build
Use --yes only when writing that selection is authorized. Without it, update uses the interactive review. Run the repository's focused regressions after restore/build; keep unrelated tests parallel and respect the repository's test-output budget. The tool does not restore or test automatically. If a file changed since the review snapshot, refresh and review again before applying.
flowchart LR
Check[Read declarations and listed feed versions] --> Preview[Dry-run exact family edits]
Preview --> Review[Review versions and owning files]
Review --> Apply[Validate snapshots and apply version edits]
Apply --> Verify[Restore, build, focused regressions]
--policy latest accepts any numerically newer version; minor stays within the current major; patch stays within the current major and minor. Version numbers do not prove API compatibility.--prerelease intentionally when preview versions are required.--source https://api.nuget.org/v3/index.json adds a NuGet V3 feed. A failed configured feed remains an incomplete check; never interpret it as up to date.--path to bound the workspace and --json for machine-readable output.nugetPackageManager.autoCheck defaults to true. Automatic checks may reuse successful version lists for ten minutes; Check for Updates queries the feeds again. Existing unsaved document edits remain unsaved after version updates.PackageVersion entries in Directory.Packages.props, literal PackageReference versions, and explicit <Sdk Name="..." Version="..." /> declarations in C#, F#, and VB project files.Aspire.AppHost.Sdk declaration participates in the Aspire family. Versionless SDKs are unchanged; no SDK is added.Project Sdk="Name/version", Import SDKs, and SDK versions in global.json are outside this tool's scope.Report the chosen family, policy and prerelease scope, reviewed files and versions, applied diff, and restore/build/regression results. Distinguish a failed feed check from a successful check with no updates.