Skip to content

Update HintPath

apobekiaris edited this page Sep 4, 2020 · 8 revisions

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

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

Update-HintPath

SYNOPSIS

Update VS project HintPath.

SYNTAX

Update-HintPath [-SourcesPath] <String> [-OutputPath] <String> [-Include] <String[]> [[-Exclude] <String[]>]
 [<CommonParameters>]

DESCRIPTION

Update VS project HintPath.

EXAMPLES

Example 1

PS C:\> Update-HintPath $rootLocation "$rootLocation\Xpand.Dll\" @("Xpand.*","DevExpress.*") @("*.DXCore.*","Xpand.XAF*","Xpand.VersionConverter*")

Updates the HintPath to all projects found in $rootLocation with the relative path calculated from the project location and the $rootLocation\Xpand.Dll\, included only the project references that match @("Xpand.*","DevExpress.*") and excluded those that match @("*.DXCore.*","Xpand.XAF*","Xpand.VersionConverter*")

PARAMETERS

-Exclude

{{ Fill Exclude Description }}

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

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

-Include

{{ Fill Include Description }}

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

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

-OutputPath

{{ Fill OutputPath Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-SourcesPath

{{ Fill SourcesPath Description }}

Type: String
Parameter Sets: (All)
Aliases:

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