LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Packing Project Libraries Programmatically

Solved!
Go to solution

Is it possible to create a packed project library via VI Scripting without having to create a Build Specification?

 

Alternatively, is it possible to create a Build Spec programmatically?

0 Kudos
Message 1 of 3
(3,674 Views)
Solution
Accepted by topic author crabstew

There are several ways, I do not know all caveats...

Open Project ref, My computer property, Build specifications property  -> Add Item, type = Library. Thes are regular properties, not scripting.

You can also edit project file as text and copy items from template.

 

Message 2 of 3
(3,663 Views)

Looks like the way to go is setting the XML properties manually 😕

 

After poking around at the methods for BuildSpecification, there are no pre-defined Build Spec specific properties but it does have a Set Tag method. The tag names can be found in the XML of a pre-existing Build Spec.

 

Build Spec Tag Example.png

Message 3 of 3
(3,627 Views)