Skip to content

vsix command deploy typescript release

PhuocLe edited this page Jun 20, 2026 · 2 revisions

VSIX Command: Deploy TypeScript Release

Deploy TypeScript (Release) builds the selected deployable TypeScript file in Release mode, deploys the generated JavaScript to an existing Dataverse web resource, then publishes it.

Command Source

Field Value
Command class CommandTypeScriptRelease
Command id CommandDeployTypeScriptRelease
Menu text Deploy TypeScript (Release)

When It Appears

The command is visible only for deployable .ts files. Generated helper files such as .form.ts and .webapi.ts are excluded.

What It Does

  1. Saves the current document.
  2. Opens or reuses a Dataverse connection.
  3. Builds the selected TypeScript file in Release mode.
  4. Uses the generated deploy file, normally JavaScript output.
  5. Looks up the existing local-to-Dataverse web resource mapping.
  6. If no mapping exists, opens the Mapping WebResource dialog.
  7. Uploads the Release output to the selected Dataverse web resource.
  8. Publishes the web resource.

Debug vs Release

Use Deploy WebResource for Debug TypeScript deployment. Use this command when the file should be minified and deployed as Release output.

Clone this wiki locally