web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

VS Code Extension installation Vs Powershell

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

I'm looking for some documentation describing a list of differences between publishing/installing an extension onpremise using Visual Studio Code or Powershell.

Thanks for your replies.

David

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: VS Code Extension installation Vs Powershell

    What do you mean by “differences”? You can use Powershell only on-premise, while with VS Code you can publish also on SaaS sandboxes (not production). Publishing via Powershell is scripting while via VS Code is a command to launch.

  • Dpeix Profile Picture
    5 on at
    RE: VS Code Extension installation Vs Powershell

    Thanks for your answer,

    when we use vs code, source code is always visible and I’m wondering if there’s any other properties like this one where différences exist between vscode and powershell extension installation.

    br

    david 

  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: VS Code Extension installation Vs Powershell

    Source code is visible if ShowMyCode property is set to true.

  • Dpeix Profile Picture
    5 on at
    RE: VS Code Extension installation Vs Powershell

    I think when axtensions are published with VS Code, my code is still visible even if showmycode is set to false.

  • Erol Profile Picture
    192 on at
    RE: VS Code Extension installation Vs Powershell

    In my experience You should always install extensions to OnPrem Production environment by PowerShell.

    I have had issues during upgrades with extensions published directly from VS Code, so there is a difference.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: VS Code Extension installation Vs Powershell

    Agree, always use Powershell in a production onpremise environment. 

  • gvol10110 Profile Picture
    105 on at
    RE: VS Code Extension installation Vs Powershell

    i think VS Code uses same commands as if you were to use PowerShell when deployments are done. If there is a difference its because those commands are preconfigured or hard-coded in AL Language VSIX extension.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: VS Code Extension installation Vs Powershell

    Yes for onprem, not for SaaS (sandboxes). 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,255

#2
Sumit Singh Profile Picture

Sumit Singh 2,665

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,401

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans