jovianarts/LVSolutionBuilder

Build path incorrectly computed when it's in the same hierarchy as its owning project

Closed this issue · 1 comments

Writing this on behalf of a user who reached out to me directly:

We think the first StripPath in the subVI subConvertValueToNameAndPath.vi should be removed. Without removing this, the Builder could not locate previously created .lvlibp’s. Our folder structure looked like:

A folder/
   Package A.lvproj
   Package B.lvproj
   Packages/
      Package A.lvlibp
      Package B.lvlibp

Turns out the necessary value in the build spec to check was Bld_localDestDirType (or PKG_output.Type for packages) to determine whether the build path should be computed from relativeToProject or not. Acting based on that value is instead the correct thing to do.