FiftyProtons.Templates.PSCore 0.2.2

PowerShell Core templates for "dotnet new".

dotnet new --install FiftyProtons.Templates.PSCore::0.2.2
This package contains a .NET Core Template Package you can call from the shell/command line.

A dotnet new template that creates a project for a binary PowerShell module.

Targets PowerShell Core v6.0.0 or higher.

Getting started

  1. dotnet new -i FiftyProtons.Templates.PSCore
  2. mkdir MyModule; cd MyModule
  3. dotnet new ps-core-module
  4. dotnet restore
  5. dotnet publish -c release -o $PWD/bin/release
  6. powershell
  7. Import-Module ./bin/release/MyModule.dll
  8. Get-Greeting -Name 'PowerShell'

A dotnet new template that creates a project for a binary PowerShell module.

Targets PowerShell Core v6.0.0 or higher.

Getting started

  1. dotnet new -i FiftyProtons.Templates.PSCore
  2. mkdir MyModule; cd MyModule
  3. dotnet new ps-core-module
  4. dotnet restore
  5. dotnet publish -c release -o $PWD/bin/release
  6. powershell
  7. Import-Module ./bin/release/MyModule.dll
  8. Get-Greeting -Name 'PowerShell'

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.2.2 1,439 4/22/2018
0.2.1 563 12/23/2017
0.2.0 344 12/23/2017
0.1.0 306 12/22/2017
0.1.0-alpha2 974 2/27/2017
0.1.0-alpha1 348 2/27/2017