Skip to content

Install DevExpress

Apostolis Bekiaris edited this page Aug 20, 2019 · 4 revisions

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

Install-DevExpress

SYNOPSIS

Installs all DevExpress assemblies needed for all solutions under a directory.

SYNTAX

Install-DevExpress [-binPath] <String> [-dxSources] <String[]> [-sourcePath] <String> [-dxVersion] <String>
 [[-packagesFolder] <String>] [[-MaximumRetries] <Int32>] [<CommonParameters>]

DESCRIPTION

Installs all DevExpress assemblies needed for all solutions under a directory. The function searches all projects and gets all DevExpress references. From that collection identifies the related NuGet packages using the Get-DxNugets cmdlet. After having download and extracted all Nuget into the BinPath parameter all HintPath of the references DevExpress assemblies changed to match the new BinPath. Finally the build of the solutions is achieved in an enviroment where DevExpress is not installed in the Gac.

EXAMPLES

Example 1

PS C:\> Install-XDevExpress -binPath "$PSScriptRoot\..\..\Xpand.dll" -dxSources $packageSources -sourcePath $root -dxVersion $dxversion

This is the exact call we use in eXpandFramework to install DevExpress for all solutions.

PARAMETERS

-MaximumRetries

{{ Fill MaximumRetries Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

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

-binPath

{{ Fill binPath Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-dxSources

{{ Fill dxSources Description }}

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

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

-dxVersion

{{ Fill dxVersion Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-packagesFolder

{{ Fill packagesFolder Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-sourcePath

{{ Fill sourcePath Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
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

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally
You can’t perform that action at this time.