The Power Platform VSCode extension makes it easy to manage Power Platform environments and allows the developer to create, build and deploy Power Platform solutions, packages and portals.
Перейти к файлу
Crash Collison df54ee5de3
Use single extension with prerelease flag via pipeline parameter (#741)
* Use single extension with prerelease flag via pipelien parameter

* cleanup

* Use Release-It to handle incrementing the version in official builds

* Remove Version variable, set values from NPM package after release-it
2023-10-27 21:10:45 -07:00
.azure-pipelines Use single extension with prerelease flag via pipeline parameter (#741) 2023-10-27 21:10:45 -07:00
.github Update CODEOWNERS 2023-08-03 07:37:23 -07:00
.vscode PowerPages ProDev Copilot Infra (#571) 2023-07-11 20:39:09 +05:30
build update 3rd party notice (#175) 2022-03-17 17:35:12 -07:00
l10n powerplatform-vscode Localization hand-back [CTAS - RunID=20231016-212706-j5xxpg96r5] (#739) 2023-10-16 16:33:53 -07:00
loc powerplatform-vscode Localization hand-back [CTAS - RunID=20231016-212706-j5xxpg96r5] (#739) 2023-10-16 16:33:53 -07:00
media Appending / in the URL for NPS form image (#561) 2023-06-20 15:44:55 +05:30
public/images [Powerpages] Copilot notification panel (#712) 2023-09-18 23:32:38 +05:30
resources February Refresh (#472) 2023-03-16 20:58:02 -07:00
src removing copy and insert for user code (#753) 2023-10-26 07:26:37 -07:00
.editorconfig adding gulp-based build infrastructure and CI flow (#1) 2020-11-09 22:12:58 -08:00
.eslintrc.js add common header definition rule (#230) 2022-07-08 09:59:52 +01:00
.gitattributes Consistent LF endings for generated localization files, only \n artifacts in bundles, and checking in forgotten strings (#471) 2023-03-02 18:05:21 -08:00
.gitignore Fixing handling of the package path (#518) 2023-04-25 10:17:01 -07:00
.release-it.yaml Use single extension with prerelease flag via pipeline parameter (#741) 2023-10-27 21:10:45 -07:00
.vscodeignore address got@9.6.0 issue: transient dep via release-it, which is currently not used anyways -> removing it (#214) 2022-06-23 15:21:34 -07:00
CODE_OF_CONDUCT.md adding legal notices 2020-11-05 12:51:11 -08:00
CONTRIBUTING.md Update to Node LTS 18 (#441) 2023-02-07 11:07:33 -08:00
LICENSE adding legal notices 2020-11-05 12:51:11 -08:00
NOTICE.txt update 3rd party notices (#290) 2022-09-13 18:36:59 -07:00
PRIVACY.md adding legal notices 2020-11-05 12:51:11 -08:00
README.md Bump PAC and extension version 2023-10-19 10:38:33 -07:00
SECURITY.md adding legal notices 2020-11-05 12:51:11 -08:00
gulpfile.mjs Use single extension with prerelease flag via pipeline parameter (#741) 2023-10-27 21:10:45 -07:00
package-lock.json Use single extension with prerelease flag via pipeline parameter (#741) 2023-10-27 21:10:45 -07:00
package.json Use single extension with prerelease flag via pipeline parameter (#741) 2023-10-27 21:10:45 -07:00
package.nls.cs.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.de.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.es.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.fr.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.it.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.ja.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.json Complete Navigation loop - add go to runtime and back to studio (#697) 2023-10-03 11:23:01 -07:00
package.nls.ko.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.pt-br.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.ru.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.tr.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.zh-cn.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
package.nls.zh-tw.json powerplatform-vscode Localization hand-back [CTAS - RunID=20231009-185347-hz5k510mx3] (#735) 2023-10-10 12:34:20 -07:00
scorch adding gulp-based build infrastructure and CI flow (#1) 2020-11-09 22:12:58 -08:00
scorch.cmd adding gulp-based build infrastructure and CI flow (#1) 2020-11-09 22:12:58 -08:00
tsconfig.json Actual integration of NPS in Vscode web (#461) 2023-02-24 10:46:51 +05:30
webpack.config.js Logic to compile co-presence worker script (#717) 2023-10-24 23:30:47 +05:30

README.md

Power Platform Extension

PullRequest Official Build

The Power Platform extension makes it easy to manage Power Platform environments and allows the developer to create, build and deploy Power Platform solutions, packages and portals.

Installing this extension will also make the latest Power Platform CLI (aka pac) available in your VSCode terminal.

VSCode Terminal with pac CLI

"Power Platform CLI Exposed" Series

Daniel Laskewitz talks with members of our team about PAC CLI, Solutions, Power Pages, Data & Tool, Pipelines, and PCF

Power Platform CLI Exposed

Power Platform CLI Exposed

Release Notes

2.0.13:

  • pac CLI 1.28.3 (September refresh, see release notes on nuget.org)
  • Web Extension updates:
    • Now Supporting image edit capability using Vscode extensions for Image editing (supported file extensions are png, jpg, webp, bmp, tga, ico, dib, jif, jpe, tpic, jpe, jpeg) #733
    • File explorer now supports Power Pages actions for "Going back to Power pages Studio" and "Preview" of site's runtime instance. #697
    • On browser refresh, Improved support for pre-emptive loading of image files active in editor. #736

2.0.11:

  • pac CLI 1.27.5 (August refresh, see release notes on nuget.org)
  • (Preview) Added 'Copilot in Power Pages' to Web Extension

2.0.7:

  • QFE for styling files load for new data model schema

2.0.6:

  • QFE for styles rendering of power pages sites

2.0.4:

  • pac CLI 1.26.6 (QFE for pac paportal bootstrap-migrate)

2.0.3:

  • pac CLI 1.26.5 (July refresh, see release notes on nuget.org)
  • Authentication Settings - Can now choose other Azure clouds for the "New Auth Profile" button to target #619
  • Environments & Solutions panel improvements:
    • Environments now display an icon for the active environment, and button added to select a different environment #629
    • Solutions now have tooltip and icon to indicated managed vs. unmanaged solutions #618
  • (Preview) Added AI code generation assistance with Power Pages Copilot
    • Only supports vscode on the desktop currently, not available in the web extension
  • Web Extension updates:
    • Conflict resolution optimization for incoming changes accept scenario #664
    • Optimized load of webfiles for old data model - media files are now loaded only on view a specific file action #662
    • Performance optimizations and better support for revisit sessions file load #646 #668 #669

2.0.0:

  • pac CLI 1.25.2 (June refresh, see release notes on nuget.org)
  • Power Pages site code edit support - in VScode web extension - for components like forms, content snippets, lists, and more
  • Enhanced Power Pages (paportal) download to have CSS, JS and HTML files as placeholders always.
  • Power Pages (paportal) commands to have better error handling for deployment profiles and unsupported web-files.

1.1.28:

  • pac CLI 1.24.3 (May refresh, see release notes on nuget.org)
  • Linux and Mac - PAC switched to the CrossPlat Dotnet Tool version from the x64 architectured Linux x64 and OSx x64 versions
    • Apple Silicon arm64 machines (M1/M2) should no longer need the x64 version of the net6.0 SDK, just the ARM version
    • Windows still uses the Windows-only net48 version, as there are still some verbs such as pac data which have full .NET Framework dependencies
  • Optimized conflict detection for co-edits in VS Code for web

1.1.27:

  • pac CLI 1.23.3 (Apr refresh, see release notes on nuget.org)
  • Conflict resolution support for co-edits in VS Code for web

1.1.25:

  • pac CLI 1.22.4 (see release notes on nuget.org)

1.1.24:

  • hotfix to pac CLI 1.22.3 for pac solution unpack placing AppModule files in invalid directory

1.1.23:

  • pac CLI 1.22.2 (Mar refresh, see release notes on nuget.org)
  • Improved Paportal manifest generation by maintaining a consistent order

1.1.19:

  • pac CLI 1.21.13 (Feb refresh, see release notes on nuget.org)
  • Desktop extension now supports create, delete and rename for power pages site entities like webpage, webfile, templates and content-snippets
  • Enhanced intellisense support - Auto-complete for Dataverse entity tags, template tags, filters, portal-specific liquid objects & their attributes

1.1.16:

  • pac CLI 1.21.8 (Dec refresh, see release notes on nuget.org)

1.1.14:

  • pac CLI 1.21.4 (Nov refresh, see release notes on nuget.org)
  • support for new data model for Power Pages in Studio web extension

1.1.9:

  • pac CLI 1.20.3 (Oct refresh, see release notes on nuget.org)

1.1.4:

  • pac CLI 1.19.3 (Sept refresh, see release notes on nuget.org)
  • fixes to Power Pages editing when hosted in vscode.dev (running as web extension)

1.1.2:

  • pac CLI 1.18.3 (Aug refresh, see release notes on nuget.org)
  • added support for Power Pages editing when hosted in vscode.dev (running as web extension, no pac CLI supported)

1.0.21:

  • hotfix in pac CLI pac paportal * for #255

1.0.20:

1.0.16:

  • pac CLI 1.16.6 (May refresh, see release notes on nuget.org)
  • the Power Platform panel now supports the new UNIVERSAL authentication kind that pac CLI 1.16.x introduced

1.0.9:

  • pac CLI 1.15.3 (April refresh, see release notes on nuget.org)

1.0.5:

  • pac CLI 1.14.4 (March refresh QFE: pac admin backup: --notes parameter deprecated)

1.0.4:

  • pac CLI 1.14.1 (March refresh, see release notes on nuget.org)

1.0.2:

  • pac CLI 1.13.6 (February refresh plus 2 fixes, see release notes on nuget.org)

1.0.1:

  • Extension is now released with General Availability
  • New Activity Pane for this extension that lets user managed PowerPlatform credentials and shows visible PP environments
  • pac CLI 1.13.4 (February refresh, see release notes on nuget.org)

0.2.35:

  • pac CLI 1.12.2 (Dec/Jan refresh, see release notes on nuget.org)

0.2.32:

  • pac CLI 1.11.8 (Fixes a regression in pac solution check)

0.2.31:

  • pac CLI 1.11.6 (Dec/Jan refresh, see release notes on nuget.org)
  • fixed installation issue for Windows 11 Insider builds due to deprecation of WMIC

0.2.27:

  • pac CLI 1.10.4 (November refresh, see release notes on nuget.org)
  • .NET 6 on Apple M1: pac CLI is targeting dotnetCore 5 for intel, but the .NET6 amd64 installer removes the net5 and x64 support. Users who have installed .NET 6 will need to uninstall all existing .NET bits and then install both the amd64 (Apple M1) and the x64 .NET 6 SDKs side by side.

0.2.23:

0.2.19:

  • shortened the extension's friendly name
  • pac CLI 1.9.4 (July refresh, see release notes on nuget.org)
  • macOS: 'pac auth create' interactive login now works

0.2.14:

  • pac CLI 1.8.6 (pcf-scripts npm pkg hot fix for June refresh)

0.2.13:

  • pac CLI 1.8.5 (June refresh)
  • added more Power Platform CLI command palette entries
  • PA Portal editing support:
    • Enhanced grammar to support include and editable tags
    • Support multiple portal root folders for multi-rooted VSCode workspaces

0.2.9:

  • pac CLI 1.7.x, same as installed/updated via MSI/nuget.org

0.2.8:

  • initial public preview:
    • pac CLI installed and runnable in VSCode terminal (cmd, PS, pwsh, git bash, any macOS shell like zsh, fish)
    • PA Portal language services and auto complete
  • known issues:
    • macOS: no good check if the required separate install of dotnetCore 3.x or 5.x is present

Requirements

  • VSCode >= 1.73.0
  • Windows: .NET 4.8
  • macOS/Linux/WSL: .NET 6.0+ SDK

Getting Started

Open the VS Code Terminal (Terminal | New Terminal) and type in:

> pac
Microsoft PowerPlatform CLI

Usage: pac [admin] [application] [auth] [canvas] [help] [org] [package] [paportal] [pcf] [plugin] [solution] [telemetry]

  admin                       Work with your PowerPlatform Admin Account
  application                 Commands for listing and installing available DataVerse applications from AppSource
  auth                        Manage how you authenticate to various services
  canvas                      Operating with Power Apps .msapp files
  help                        Show help for the Microsoft PowerPlatform CLI
  org                         Work with your Dataverse Organization
  package                     Commands for working with Dataverse package projects
  paportal                    Commands for working with PowerApps portal website
  pcf                         Commands for working with PowerApps component framework projects
  plugin                      Commands for working with Dataverse plugin class library
  solution                    Commands for working with Dataverse solution projects
  telemetry                   Manage telemetry settings

The pac CLI will show you the available command nouns with a short description. To get detailed help for each noun, use the built-int help screens for each command, e.g.:

> pac solution help
Microsoft PowerApps CLI

Usage: pac solution [init] [add-reference] [list] [delete] [online-version] [version] [import] [export] [clone] [publish] [upgrade] [add-license] [check] [create-settings] [pack] [unpack]

  init                        Initializes a directory with a new Dataverse solution project
  add-reference               Adds a reference from the project in the current directory to the project at 'path'
  list                        List all Solutions from the current Dataverse Organization
  delete                      Delete Dataverse Solution from the current Dataverse Environment
  online-version              Sets version for solution loaded in Dataverse environment.
  version                     Update build or revision version for solution
  import                      Import the Dataverse Solution into the current Dataverse Environment
  export                      Export a Dataverse Solution from the current Dataverse Environment
  clone                       Create a solution project based on an existing solution in your Organization
  publish                     Publishes all customizations
  upgrade                     Option to stage the Dataverse solution for upgrade
  add-license                 Add license and plan info to solution
  check                       Upload a Dataverse Solution project to run against the PowerApps Checker Service
  create-settings             Create a settings file from solution zip or solution folder.
  pack                        Package solution components on local filesystem into solution.zip (SolutionPackager)
  unpack                      Extract solution components from solution.zip onto local filesystem (SolutionPackager)

To then view all solutions installed in the selected environment:

> pac solution list
Connected to...vscode-test
Listing all Solutions from the current Dataverse Organization...

 Index      Unique Name                                        Friendly Name                                                Version


 [1]        Cr4323c                                            Common Data Services Default Solution                        1.0.0.0

Feedback & Questions

Please use the issues tracker in the home repo: https://github.com/microsoft/powerplatform-vscode/issues

Contributing

This project will welcome contributions in the near future. At this stage, we're not ready for contributions, but do welcome your suggestions via this repository's issue tracker.

See details in CONTRIBUTING

Code of Conduct

See details in CODE_OF_CONDUCT

Security issues

Please report any security concerns or issues as described in this SECURITY document.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.