We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faf80ad commit 314b793Copy full SHA for 314b793
1 file changed
scripts/update-winget-manifests.ps1
@@ -92,8 +92,9 @@ function Test-IsLibraryOnlyProject {
92
$csprojContent = Get-Content -Path $csprojFile.FullName -Raw
93
$projectName = $csprojFile.BaseName
94
95
- # Check if this is the main project (matches repository name)
96
- $isMainProject = ($projectName -eq $repoName)
+ # Check if this is the main project (matches repository name or starts with it)
+ # For multi-project solutions like "Semantics.Strings" in repo "Semantics"
97
+ $isMainProject = ($projectName -eq $repoName -or $projectName.StartsWith("$repoName."))
98
99
# Skip test projects
100
$isTestProject = ($csprojContent -match 'Sdk="[^"]*\.Test["/]' -or
0 commit comments