Skip to content

Commit bf8fb80

Browse files
committed
apply updates from template
1 parent d09a56c commit bf8fb80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/BuildAllProjects.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Set-Location $RepositoryRootDirectory
1111

1212
$SolutionFile = [System.IO.Path]::GetFileName(
1313
[System.IO.Path]::GetDirectoryName($RepositoryRootDirectory)
14-
) + ".temp.sln"
14+
) + ".temp.slnx"
1515

16-
dotnet new sln --force --name $([System.IO.Path]::GetFileNameWithoutExtension($SolutionFile))
16+
dotnet new sln --force --format slnx --name $([System.IO.Path]::GetFileNameWithoutExtension($SolutionFile))
1717

1818
# add build target projects to the solution
19-
$ProjectFiles = Get-ChildItem -Path $([System.IO.Path]::Join($RepositoryRootDirectory, 'src', 'Smdn.*', '*')) -Filter '*.csproj'
19+
$ProjectFiles = Get-ChildItem -Path $([System.IO.Path]::Join($RepositoryRootDirectory, 'src', 'Smdn.*', 'Smdn.*.csproj')) -File
2020

2121
foreach ($ProjectFile in $ProjectFiles) {
2222
dotnet sln $SolutionFile add $ProjectFile

0 commit comments

Comments
 (0)