Deprecate in favor of ms-dotnettools.msbuild-binlog-analyzer - #19
Merged
Conversation
This dotutils extension has been superseded by the official Microsoft extension "MSBuild Binlog Analyzer for VS Code" (ms-dotnettools.msbuild-binlog-analyzer). Convert this build into a migration tombstone that guides users to the replacement: - activate(): best-effort, non-blocking deprecation prompt that offers to install the official extension and uninstall this one (skipped once the official extension is present or the user dismisses it). - package.json: mark displayName/description as DEPRECATED pointing at the new id; bump 0.10.27 -> 0.10.28 so a final notice release can ship. - README: prominent deprecation banner linking to the new Marketplace item. - CHANGELOG: 0.10.28 deprecation entry. Existing functionality is left intact so current users are not broken while they migrate. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 270764ca-be14-46fc-a3b4-3361dd725c25
A single transient toast is too easy to dismiss, so most users would never
migrate. Replace it with two harder-to-miss layers (still best-effort, never
blocks activation):
- One-time blocking modal (tracked in globalState). Escape/Cancel only defers
it to the next activation; it is never treated as a permanent dismissal.
- Persistent amber status-bar item ("Binlog Analyzer deprecated") that remains
every session until the user migrates or opts out, and re-opens the migration
prompt on click.
"Install new extension" installs ms-dotnettools.msbuild-binlog-analyzer, hides
the status bar, and offers to uninstall this build and reload. "Don't show
again" suppresses both layers. Everything goes silent once the official
extension is installed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 270764ca-be14-46fc-a3b4-3361dd725c25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts this
dotutils.binlog-analyzerbuild into a migration tombstone that moves users to the official Microsoft extension MSBuild Binlog Analyzer for VS Code (ms-dotnettools.msbuild-binlog-analyzer).Changes
src/deprecationNotice.ts(new): best-effort, non-blocking prompt on activation. Offers Install new extension (installsms-dotnettools.msbuild-binlog-analyzer), then optionally uninstall this one & reload. Stays silent if the official extension is already installed or the user chose "Don't show again".src/extension.ts: invokes the notice early inactivate().package.json:displayName/descriptionmarked DEPRECATED pointing at the new id; version0.10.27 → 0.10.28so a final notice release can be published.0.10.28entry.Existing functionality is intentionally left intact so current users are not broken mid-migration.
Validation
npm run compile(tsc) passes clean.Follow-ups (outside this repo)
0.10.28tombstone to the Marketplace.ms-dotnettoolsteam).