We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b53eb3 commit 281d9ecCopy full SHA for 281d9ec
tools/ResolveTools/Resolve-SolutionFile.ps1
@@ -43,7 +43,11 @@ function Resolve($solutionFilePath) {
43
$dependentModuleFolderPath += (Get-Item (Resolve-Path $csprojPath)).Directory.FullName
44
}
45
else {
46
- $dependentModuleName = $csprojPath.Split("/src/")[1].Split("/")[0]
+ if ($csprojPath.Contains("/src")) {
47
+ $dependentModuleName = $csprojPath.Split("/src/")[1].Split("/")[0]
48
+ } elseif ($csprojPath.Contains("/generated")) {
49
+ $dependentModuleName = $csprojPath.Split("/generated/")[1].Split("/")[0]
50
+ }
51
$dependentModuleFolderPath += "../$dependentModuleName"
52
53
0 commit comments