Skip to content
| Marketplace
Sign in
Visual Studio>Templates>PowerShell ISE Add-On
PowerShell ISE Add-On

PowerShell ISE Add-On

Steve Rathbone

|
1,287 installs
| (0) | Free
For Visual Studio 2010
Download

This C# project template will help set up the environment in Visual Studio 2010 for PowerShell ISE Add-On development. Please note that I have only tested this template in VS2010 Professional, and not in the Express versions. Also, if you currently own Visual Studio 2012 or 2013, I have recreated this template and it can be downloaded fromhere.

The template is extremely simple and is based off the existing 'WPF User Control Library' project template.  Firstly, it adds a project assembly reference to the Microsoft.PowerShell.GPowerShell.dll that is located in the GAC, and the main file, UserControl1.xaml.cs, has also been changed to implement the IAddOnToolHostObject interface.

Instructions:

Once you have downloaded and installed this Visual Studio Extension, if you click File->New Project you should see the PowerShell ISE Add-On project type listed under the root node for C# (see screenshot below).

 

 

After you have created and compiled your project, you will still need to add the resulting .dll into your ISE by using: Add-Type -Path ‘c:\path\to\your\dll’.  For further details on building ISE Add-ons, please refer to Jason Stangroome's excellent post at http://blog.stangroome.com/2012/01/16/create-a-powershell-v3-ise-add-on-tool/

If you have any questions, issues or feature requests, please let me know!

Cheers,
Steve Rathbone

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft