There was an error while loading. Please reload this page.
1 parent 7d3cb11 commit 8d6f7e2Copy full SHA for 8d6f7e2
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