Skip to content

New Assembly

apobekiaris edited this page Jun 15, 2020 · 4 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

New-Assembly

SYNOPSIS

Creates a new assembly.

SYNTAX

code

New-Assembly -AssemblyName <String> -Code <String> [-Packages <String[]>] [-OutputPath <String>]
 [-Template <String>] [-Framework <String>] [-Configuration <String>] [<CommonParameters>]

files

New-Assembly -AssemblyName <String> -Files <String[]> [-Packages <String[]>] [-OutputPath <String>]
 [-Template <String>] [-Framework <String>] [-Configuration <String>] [<CommonParameters>]

DESCRIPTION

Creates a new assembly.

EXAMPLES

Example 1

PS C:\> New-Assembly -AssemblyName test.dll -Code $code -Packages $packages -OutputPath $outPath -Template classlib -Framework netcoreapp3.0

Creates the test.dll for netcoreapp3.0 framework.

PARAMETERS

-AssemblyName

{{ Fill AssemblyName Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Code

{{ Fill Code Description }}

Type: String
Parameter Sets: code
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Configuration

{{ Fill Configuration Description }}

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: Debug, Release

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Files

{{ Fill Files Description }}

Type: String[]
Parameter Sets: files
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Framework

{{ Fill Framework Description }}

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: netstandard2.0, netcoreapp2.1, netcoreapp2.2, netcoreapp3.0

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OutputPath

{{ Fill OutputPath Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Packages

{{ Fill Packages Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Template

{{ Fill Template Description }}

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: console, classlib

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String[]

OUTPUTS

System.Object

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally