< Back
Get-ConfigurationTransformFile
Post
NAME Get-ConfigurationTransformFile
SYNOPSIS
Gets all XDT-files in the subdirectories of the specified directory.
SYNTAX
Get-ConfigurationTransformFile [-SolutionRootPath] <String> [[-BuildConfigurations] <String[]>] [[-ExcludeFilter]
<String[]>] [<CommonParameters>]
DESCRIPTION
Gets all XDT-files in the specified directory, exluding files in system folders like "bin" and "node_modules".
PARAMETERS
-SolutionRootPath <String>
The absolute or relative solution root path to search through.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BuildConfigurations <String[]>
Specifies which build configuration's files will be retrieved. E.g. "Debug" will return files like
"Settings.Debug.config".
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ExcludeFilter <String[]>
Specifies which folders do exclude in the search. Defaults to "node_modules", "bower_components", "obj" and
"bin".
Required? false
Position? 3
Default value @("node_modules", "bower_components", "obj", "bin")
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ConfigurationTransformFile -SolutionRootPath "C:\\Path\\To\\MySolution" -BuildConfigurations "Debug"
Returns all XDT-files found in the "C:\\Path\\To\\MySolution", recursively, for the "Debug" configuration.
RELATED LINKS
SYNOPSIS
Gets all XDT-files in the subdirectories of the specified directory.
SYNTAX
Get-ConfigurationTransformFile [-SolutionRootPath] <String> [[-BuildConfigurations] <String[]>] [[-ExcludeFilter]
<String[]>] [<CommonParameters>]
DESCRIPTION
Gets all XDT-files in the specified directory, exluding files in system folders like "bin" and "node_modules".
PARAMETERS
-SolutionRootPath <String>
The absolute or relative solution root path to search through.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BuildConfigurations <String[]>
Specifies which build configuration's files will be retrieved. E.g. "Debug" will return files like
"Settings.Debug.config".
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ExcludeFilter <String[]>
Specifies which folders do exclude in the search. Defaults to "node_modules", "bower_components", "obj" and
"bin".
Required? false
Position? 3
Default value @("node_modules", "bower_components", "obj", "bin")
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String[]
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-ConfigurationTransformFile -SolutionRootPath "C:\\Path\\To\\MySolution" -BuildConfigurations "Debug"
Returns all XDT-files found in the "C:\\Path\\To\\MySolution", recursively, for the "Debug" configuration.
RELATED LINKS