Skip to content

vsix command deploy new typescript release

PhuocLe edited this page Jun 20, 2026 · 2 revisions

VSIX Command: Deploy New TypeScript Release

Deploy New TypeScript (Release) builds the selected deployable TypeScript file in Release mode, creates a new Dataverse web resource from the generated JavaScript, adds it to a solution, publishes it, and saves the mapping.

Command Source

Field Value
Command class CommandNewTypeScriptRelease
Command id CommandDeployNewTypeScriptRelease
Menu text Deploy New 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. Loads Dataverse solutions.
  4. Builds the selected TypeScript file in Release mode.
  5. Opens the New WebResource dialog.
  6. Creates the new Dataverse web resource from the Release output.
  7. Adds it to the selected solution.
  8. Publishes the web resource.
  9. Saves the mapping to DynamicsCrm.DevKit.Config.json.

Debug vs Release

Use Deploy New WebResource for Debug TypeScript deployment. Use this command when creating a new Dataverse web resource from minified Release output.

Clone this wiki locally