File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -152,17 +152,16 @@ function Add-ProjectDependencies
152
152
[string ]$SolutionPath
153
153
)
154
154
155
- $CommonProjectsToIgnore = @ (" ScenarioTest.ResourceManager" , " TestFx" , " Tests" )
156
155
$CsprojList = @ ()
157
156
$Content = Get-Content - Path $SolutionPath
158
157
$SolutionFoloderPath = Split-Path - Parent $SolutionPath
159
- $Content | Select-String - Pattern " `" [a-zA-Z0-9`.`\\`/]*.csproj`" " | ForEach-Object { $_.Matches [0 ].Value.Trim(' "' ) } | Where-Object { $CommonProjectsToIgnore -notcontains $_ } | ForEach-Object { $CsprojList += $_ }
158
+ $Content | Select-String - Pattern " `" [a-zA-Z0-9`.`\\`/]*.csproj`" " | ForEach-Object { $_.Matches [0 ].Value.Trim(' "' ) } | ForEach-Object { $CsprojList += $_ }
160
159
161
160
foreach ($Csproj in $CsprojList )
162
161
{
163
162
try
164
163
{
165
- $CsprojAbslutionPath = Resolve-Path - Path ($SolutionFoloderPath + " \" + $Csproj )
164
+ $CsprojAbslutionPath = Resolve-Path - Path ($SolutionFoloderPath + " \\ " + $Csproj )
166
165
Write-Host $CsprojAbslutionPath
167
166
}
168
167
catch
You can’t perform that action at this time.
0 commit comments