-
-
Notifications
You must be signed in to change notification settings - Fork 7
New Assembly
apobekiaris edited this page Jun 15, 2020
·
4 revisions
Creates a new assembly.
New-Assembly -AssemblyName <String> -Code <String> [-Packages <String[]>] [-OutputPath <String>]
[-Template <String>] [-Framework <String>] [-Configuration <String>] [<CommonParameters>]
New-Assembly -AssemblyName <String> -Files <String[]> [-Packages <String[]>] [-OutputPath <String>]
[-Template <String>] [-Framework <String>] [-Configuration <String>] [<CommonParameters>]
Creates a new assembly.
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.
{{ Fill AssemblyName Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Code Description }}
Type: String
Parameter Sets: code
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ 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
{{ 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
{{ 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
{{ Fill OutputPath Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Packages Description }}
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ 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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.